]> git.lyx.org Git - lyx.git/blobdiff - src/boost.C
Make enter button work in GTK text dialog
[lyx.git] / src / boost.C
index 440b4ffd931aa6cd99d44b0e8c1d370b5eab121a..10494e226ad8ed57d0d0c36101edfed264d08906 100644 (file)
@@ -34,13 +34,13 @@ namespace {
 
 void emergencyCleanup()
 {
-        static bool didCleanup;
-        if (didCleanup)
-                return;
+       static bool didCleanup;
+       if (didCleanup)
+               return;
 
-        didCleanup = true;
+       didCleanup = true;
 
-        LyX::emergencyCleanup();
+       LyX::cref().emergencyCleanup();
 }
 
 }