]> git.lyx.org Git - features.git/commitdiff
If this test fails, then we are about to crash, because we are about
authorRichard Heck <rgheck@lyx.org>
Fri, 28 Mar 2014 18:47:54 +0000 (14:47 -0400)
committerRichard Heck <rgheck@lyx.org>
Fri, 18 Apr 2014 14:52:48 +0000 (10:52 -0400)
to try to access whichever thing we did not find. So do an emergency
close of this Buffer.
(cherry picked from commit 5e557e7f7688e4af5bbecc49f3f7dda80afde44e)

src/CoordCache.cpp

index dedd1355b677e3af008c314059238855ed9569a4..686503979d632ce1151d6ed65c216dd8d66fa625 100644 (file)
@@ -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);
 }