commit 994844cb34eb1071f3b653fc220a719cde20d00c
Author: Stephan Witt <[email protected]>
Date: Sat Jul 2 08:27:48 2016 +0200
Correct indentation
---
src/support/AppleScriptProxy.cpp | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/support/AppleScriptProxy.cpp b/src/support/AppleScriptProxy.cpp
index 1d8c47f..b40a145 100644
--- a/src/support/AppleScriptProxy.cpp
+++ b/src/support/AppleScriptProxy.cpp
@@ -26,21 +26,21 @@ using namespace std;
using namespace lyx;
extern "C" LyXFunctionResult applescript_execute_command(const char *cmd,
const char *arg) {
- LYXERR(Debug::ACTION, "Running command [" << cmd << "] with arguments ["
<< arg << "]");
+ LYXERR(Debug::ACTION, "Running command [" << cmd << "] with arguments
[" << arg << "]");
FuncRequest fr(lyxaction.lookupFunc(cmd), arg);
fr.setOrigin(FuncRequest::LYXSERVER);
DispatchResult dr;
theApp()->dispatch(fr, dr);
-
- string const rval = to_utf8(dr.message());
- char *cstr =(char*) malloc((rval.size()+1)*sizeof(rval[0]));
- strcpy (cstr, rval.c_str());
-
- // Returns the result
- LyXFunctionResult result;
- result.code = dr.error() ? -1 : 0;
- result.message = cstr;
-
- return result;
+
+ string const rval = to_utf8(dr.message());
+ char *cstr =(char*) malloc((rval.size()+1)*sizeof(rval[0]));
+ strcpy (cstr, rval.c_str());
+
+ // Returns the result
+ LyXFunctionResult result;
+ result.code = dr.error() ? -1 : 0;
+ result.message = cstr;
+
+ return result;
}