]> git.lyx.org Git - lyx.git/blobdiff - src/lyxserver.C
Fix crash when running lyx -dbg insets -e ...
[lyx.git] / src / lyxserver.C
index ab777168f406ae49d7ba25c646ab922317626d62..0d6662cd96371c358186f68fddffd025369e8ee5 100644 (file)
@@ -1,11 +1,10 @@
-// -*- C++ -*-
 /* This file is part of
  * ====================================================== 
  * 
  *           LyX, The Document Processor
  *        
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
@@ -37,7 +36,7 @@
 
 #include <config.h>
 
-#include <cstring>
+//#include <cstring>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
@@ -529,7 +528,7 @@ void LyXServer::callback(LyXServer * serv, string const & msg)
                        string rval, buf;
                    
                        if (action>= 0) {
-                               rval = serv->func->Dispatch(action, arg);
+                               rval = serv->func->dispatch(action, arg);
                        } else {
                                rval = "Unknown command";
                        }