]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui_misc.C
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / lyx_gui_misc.C
index 479c2c394eb031678382bfcbfb8e6472e9e9f7e3..dc4c6ca53734e13cab33fbfd70e6eb2cfed4863a 100644 (file)
@@ -27,6 +27,7 @@
 #include "bufferview_funcs.h"
 #include "support/filetools.h"
 #include "lyxrc.h"
+#include "debug.h"
 
 using std::pair;
 using std::make_pair;
@@ -39,11 +40,15 @@ extern FD_form_sendto * fd_form_sendto;
 
 extern void HideFiguresPopups();
 
+
 // Prevents LyX from being killed when the close box is pressed in a popup.
-extern "C" int CancelCloseBoxCB(FL_FORM *, void *)
+extern "C"
+int CancelCloseBoxCB(FL_FORM *, void *)
 {
        return FL_CANCEL;
 }
+
+
 // Redraw the form (on receipt of a Signal indicating, for example,
 // that the xform colors have been re-mapped).
 void RedrawAllBufferRelatedDialogs()