diff -Nru scite228.vanilla/scite/src/SciTEProps.cxx scite228/scite/src/SciTEProps.cxx --- scite228.vanilla/scite/src/SciTEProps.cxx 2011-08-01 04:49:30.000000000 +0200 +++ scite228/scite/src/SciTEProps.cxx 2011-08-13 17:43:39.380238668 +0200 @@ -1651,10 +1651,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(); }