]> git.lyx.org Git - lyx.git/blobdiff - src/Server.cpp
Rename the minted 'lang' external template option as 'language'
[lyx.git] / src / Server.cpp
index 1a66682bc40f9e95db5cfc851fd38bb78457b299..b89e834f20408275b6200ec6de2a3b9ff1367fef 100644 (file)
@@ -58,6 +58,8 @@
 
 #include "support/bind.h"
 
+#include <iostream>
+
 #ifdef _WIN32
 #include <io.h>
 #include <QCoreApplication>
@@ -1173,7 +1175,7 @@ void Server::callback(string const & msg)
                        // connect to the lyxfunc in the single GuiView we
                        // support currently. (Lgb)
 
-                       FuncRequest fr(lyxaction.lookupFunc(cmd), arg);
+                       FuncRequest fr(lyxaction.lookupFunc(cmd), from_ascii(arg));
                        fr.setOrigin(FuncRequest::LYXSERVER);
                        DispatchResult dr;
                        theApp()->dispatch(fr, dr);