commit 6f1bba05a544273f60caa5b4a908b25b5ab9a8cf
Author: Richard Heck <[email protected]>
Date: Fri Mar 28 14:47:54 2014 -0400
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 dedd135..6865039 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);
}