]> git.lyx.org Git - lyx.git/blobdiff - src/minibuffer.C
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / minibuffer.C
index 95ebfe3d4a3e16611c77a3c1552f084996299df9..944af290e338f54cbe143514ec0308d25eb40690 100644 (file)
@@ -233,13 +233,17 @@ int MiniBuffer::peek_event(FL_OBJECT * ob, int event, int key)
 }
 
 
-extern "C"
-int C_MiniBuffer_peek_event(FL_OBJECT * ob, int event, 
-                           FL_Coord, FL_Coord,
-                           int key, void * /*xev*/)
-{
-       MiniBuffer * mini = static_cast<MiniBuffer*>(ob->u_vdata);
-       return mini->peek_event(ob, event, key);
+extern "C" {
+       
+       static
+       int C_MiniBuffer_peek_event(FL_OBJECT * ob, int event, 
+                                   FL_Coord, FL_Coord,
+                                   int key, void * /*xev*/)
+       {
+               MiniBuffer * mini = static_cast<MiniBuffer*>(ob->u_vdata);
+               return mini->peek_event(ob, event, key);
+       }
+       
 }