blob: 106c2453aa4413a1f838b7856654b65773b02975 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff -Nru vanilla//scite/src/SciTEProps.cxx patched//scite/src/SciTEProps.cxx
--- vanilla//scite/src/SciTEProps.cxx 2010-06-23 18:04:42.639336085 +0100
+++ patched//scite/src/SciTEProps.cxx 2010-06-23 18:07:00.606351119 +0100
@@ -1532,10 +1532,12 @@
// return the int value of the command name passed in.
int SciTEBase::GetMenuCommandAsInt(SString commandName) {
+#ifndef NO_LUA
int i = IFaceTable::FindConstant(commandName.c_str());
if (i != -1) {
return IFaceTable::constants[i].value;
}
+#endif
// Otherwise we might have entered a number as command to access a "SCI_" command
return commandName.value();
}
|