ignore empty minibuffer entries as Lars indicated.

thanks
john

-- 
"Euler's equation contains the five most important numbers in mathematics."
Index: ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.196
diff -u -r1.196 ChangeLog
--- ChangeLog   2001/06/21 10:55:47     1.196
+++ ChangeLog   2001/06/22 18:05:34
@@ -1,3 +1,7 @@
+2001-06-22  John Levon  <[EMAIL PROTECTED]>
+
+       * lyxfunc.C: silently ignore empty dispatches from the minibuffer
+ 
 2001-06-20  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
        * LaTeX.C (scanAuxFile):
@@ -42,7 +46,7 @@
 2001-06-14  Angus Leeming  <[EMAIL PROTECTED]>
 
        * BufferView.C:
-       * Bullet.C
+       * Bullet.C:
        * ColorHandler.C:
        * FontInfo.C:
        * FontLoader.C:
Index: lyxfunc.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v
retrieving revision 1.223
diff -u -r1.223 lyxfunc.C
--- lyxfunc.C   2001/06/15 16:18:42     1.223
+++ lyxfunc.C   2001/06/22 18:05:38
@@ -19,7 +19,6 @@
 
 #include <cstdlib>
 #include <cctype>
-//#include <cstring>
 
 #ifdef __GNUG__
 #pragma implementation
@@ -539,7 +538,9 @@
 // temporary dispatch method
 void LyXFunc::miniDispatch(string const & s) 
 {
-       Dispatch(s);
+       if (!s.empty()) {
+               Dispatch(s);
+       }
 }
 
 

Reply via email to