commit f13e9a183d794bb4317224ff6e50ae4d8251817f Author: Richard Heck <rgh...@lyx.org> 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. 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); }