From 6f1bba05a544273f60caa5b4a908b25b5ab9a8cf Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 28 Mar 2014 14:47:54 -0400 Subject: [PATCH] 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) --- src/CoordCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5