]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlookup.C
Small fix.
[lyx.git] / src / lyxlookup.C
index 03e4dc87e0423000c9abee01669893858d0355e9..16653062fb3695eb20be412446cc571f38724c7e 100644 (file)
@@ -8,6 +8,10 @@
  *
  * ====================================================== */
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include <config.h>
 
 #ifdef HAVE_XOPENIM
@@ -22,6 +26,7 @@
 #endif
 #include <clocale>
 
+#include "lyxlookup.h"
 #include "debug.h"
 #include "lyxrc.h"
 
@@ -167,7 +172,7 @@ int LyXLookupString(XEvent * event,
                if (event->type != KeyPress)
                        lyxerr << "LyXLookupString: wrong event type" 
                               <<  event->type << endl;
-               Status status_return;
+               Status status_return = 0;
                
                result =  XmbLookupString(xic, &event->xkey, buffer_return,
                                       bytes_buffer, keysym_return,