]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_main.C
Fix crash when running lyx -dbg insets -e ...
[lyx.git] / src / lyx_main.C
index 7b260e2af7125c5da93388f2d08527fcc85df65a..367911132c2fc604564ba71358426577d5a3a972 100644 (file)
 #include "converter.h"
 #include "language.h"
 #include "support/os.h"
+// for NO_LATEX
+#if 1
+#include "lyxfont.h"
+#endif
 
 using std::endl;
 
@@ -165,7 +169,7 @@ LyX::LyX(int * argc, char * argv[])
 
                // otherwise, let the GUI handle the batch command
                lyxGUI->regBuf(last_loaded);
-               lyxGUI->getLyXView()->getLyXFunc()->Dispatch(batch_command);
+               lyxGUI->getLyXView()->getLyXFunc()->dispatch(batch_command);
 
                // fall through...
        }