From: Richard Heck Date: Fri, 28 Mar 2014 18:47:54 +0000 (-0400) Subject: If this test fails, then we are about to crash, because we are about X-Git-Tag: 2.1.1~90^2~8 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6f1bba05a544273f60caa5b4a908b25b5ab9a8cf;p=features.git If this test fails, then we are about to crash, because we are about to try to access whichever thing we did not find. So do an emergency close of this Buffer. (cherry picked from commit 5e557e7f7688e4af5bbecc49f3f7dda80afde44e) --- diff --git a/src/CoordCache.cpp b/src/CoordCache.cpp index dedd1355b6..686503979d 100644 --- a/src/CoordCache.cpp +++ b/src/CoordCache.cpp @@ -38,7 +38,7 @@ void lyxbreaker(void const * data, const char * hint, int size) { LYXERR0("break on pointer: " << data << " hint: " << hint << " size: " << size); - LASSERT(false, return); + LBUFERR(false); }