commit 1440b6a2fc6d39782a486f045d72506eb9215712 Author: Stephan Witt <sw...@lyx.org> Date: Sat Jul 2 08:29:39 2016 +0200
Compile fix after change 4b64aaf, replace missing constructor for C-string with docstring variant --- src/support/AppleScriptProxy.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/support/AppleScriptProxy.cpp b/src/support/AppleScriptProxy.cpp index b40a145..8ff1d76 100644 --- a/src/support/AppleScriptProxy.cpp +++ b/src/support/AppleScriptProxy.cpp @@ -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);