]> git.lyx.org Git - lyx.git/blobdiff - src/Server.cpp
ctests: samples for lib/unicodesymbols: only test export to 8-bit LaTeX.
[lyx.git] / src / Server.cpp
index c88ae8241a65e8664be701b8d81c2b7cd56fe5e2..b89e834f20408275b6200ec6de2a3b9ff1367fef 100644 (file)
@@ -1175,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);