]> git.lyx.org Git - lyx.git/blobdiff - src/boost.C
more cursor dispatch
[lyx.git] / src / boost.C
index b6b4ae38ceb09d71545ffa5da396e1d225aa9bec..2a6570d8818b1a68762942651e2da52556f99d16 100644 (file)
@@ -40,7 +40,7 @@ void emergencyCleanup()
 
         didCleanup = true;
 
-        LyX::emergencyCleanup();
+        LyX::cref().emergencyCleanup();
 }
 
 }
@@ -49,8 +49,9 @@ void emergencyCleanup()
 void assertion_failed(char const * expr, char const * function,
                      char const * file, long line)
 {
-       lyxerr << "Assertion triggered in " << function << " by \"" <<
-               expr << " in file " << file << ":" << line << endl;
+       lyxerr << "Assertion triggered in " << function
+              << " by failing check \"" << expr << "\""
+              << " in file " << file << ":" << line << endl;
        emergencyCleanup();
        lyx::support::abort();
 }