]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_symbols.C
Hopefully fix the problem with stateText() in lyxfont.C
[lyx.git] / src / mathed / math_symbols.C
index f1c9ea79e188eb5bea026118b02297f2622ab066..0fe7451ce7abab29e6970bf0894bb125c1c031ab 100644 (file)
@@ -23,7 +23,6 @@
 #endif
 
 #include <algorithm>
-using std::max;
 
 #include "lyx_main.h"
 #include "buffer.h"
@@ -33,12 +32,17 @@ using std::max;
 #include "LyXView.h"
 #include "support/lstrings.h"
 #include "debug.h"
+#include "lyxfunc.h"
 
 #include "formula.h"
 
 #include "math_panel.h"                 
 #include "math_parser.h"
 
+using std::max;
+using std::endl;
+using std::ostream;
+
 extern short greek_kb_flag;
 
 extern BufferView * current_view;
@@ -301,7 +305,7 @@ extern "C" void math_cb(FL_OBJECT* ob, long data)
    }
   
    if (s)  {
-      if (current_view->available() && lyxrc->display_shortcuts) {
+      if (current_view->available() && lyxrc.display_shortcuts) {
          current_view->owner()->getMiniBuffer()->Set("Inserting symbol ", s);
       }
       current_view->owner()->getLyXFunc()->Dispatch(LFUN_INSERT_MATH, s);