Compile fix after change 4b64aaf, replace missing constructor for C-string with docstring variant

This commit is contained in:
Stephan Witt 2016-07-02 08:29:39 +02:00
parent 994844cb34
commit 1440b6a2fc

View File

@ -27,7 +27,7 @@ using namespace lyx;
extern "C" LyXFunctionResult applescript_execute_command(const char *cmd, const char *arg) {
LYXERR(Debug::ACTION, "Running command [" << cmd << "] with arguments [" << arg << "]");
FuncRequest fr(lyxaction.lookupFunc(cmd), arg);
FuncRequest fr(lyxaction.lookupFunc(cmd), from_utf8(arg));
fr.setOrigin(FuncRequest::LYXSERVER);
DispatchResult dr;
theApp()->dispatch(fr, dr);