summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/lpgen/lpgen.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js
index c580722019..1246345b62 100644
--- a/tools/lpgen/lpgen.js
+++ b/tools/lpgen/lpgen.js
@@ -421,7 +421,7 @@ function ParseRCFile(FileTextVar,array) {
// check for some garbage like "List1","Tab1" etc. in *.rc files, we do not need this.
onestring=string[2].replace(/^((List|Tab|Tree|Spin|Custom|Slider|DateTimePicker|Radio|Check|HotKey|Progress)\d)|(whiterect)$/g,"");
// ignore some popup menu craps
- if (string[1]=="POPUP" && onestring.match(/^([a-zA-Z]*menu)|([A-Z][a-z]+[A-Z][a-z]*|dummy)$/g,""))
+ if (string[1]=="POPUP" && onestring.match(/^([a-zA-Z]*menu)|([A-Z][a-z]+[A-Z][a-z]*)$/g))
continue;
//if there is double "", replace with single one
onestring=onestring.replace(/\"{2}/g,"\"");