summaryrefslogtreecommitdiff
path: root/editors/e93/files/patch-shellcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/e93/files/patch-shellcmd.c')
-rw-r--r--editors/e93/files/patch-shellcmd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/e93/files/patch-shellcmd.c b/editors/e93/files/patch-shellcmd.c
new file mode 100644
index 000000000000..9e2967dec9dc
--- /dev/null
+++ b/editors/e93/files/patch-shellcmd.c
@@ -0,0 +1,11 @@
+--- shellcmd.c.orig 2013-05-22 09:45:47.000000000 +0200
++++ shellcmd.c 2013-05-22 09:46:25.000000000 +0200
+@@ -6354,7 +6354,7 @@
+ {
+ if(tclResult!=TCL_OK)
+ {
+- sprintf(tempString,"Error in line %d: ",localInterpreter->errorLine);
++ sprintf(tempString,"Error in line %d: ",Tcl_GetErrorLine(localInterpreter));
+ EditorAuxInsert(buffer,(UINT8 *)tempString,(UINT32)strlen(tempString));
+ }
+ EditorAuxInsert(buffer,(UINT8 *)stringResult,(UINT32)strlen(stringResult));