mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Compile fix after change 4b64aaf
, replace missing constructor for C-string with docstring variant
This commit is contained in:
parent
994844cb34
commit
1440b6a2fc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user