summaryrefslogtreecommitdiff
path: root/tools/lpgen/lpgen.js
diff options
context:
space:
mode:
authorBasil <basil@miranda-ng.org>2013-01-28 11:53:17 +0000
committerBasil <basil@miranda-ng.org>2013-01-28 11:53:17 +0000
commita632a88d91b062a702c49c86f44be68712e86ff2 (patch)
tree0ea5ee09b05580b9df551d4b811aa667fb33460e /tools/lpgen/lpgen.js
parent2a92d9277758c65f03b5639a2bc03d29be689c5e (diff)
CAPTION in *.rc files wasn't parsed, because of wrong RexExp.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen/lpgen.js')
-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 00e5694196..4d4f73c785 100644
--- a/tools/lpgen/lpgen.js
+++ b/tools/lpgen/lpgen.js
@@ -402,7 +402,7 @@ function ParseRCFile(RC_File,array) {
//read on line into rcline
rcline=RC_File_stream.ReadLine();
//find string to translate in rcline by regexp
- regexpstring=rcline.match(/\s*(?:CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|GROUPBOX|CAPTION|MENUITEM|POPUP)\s*\"([^\"]+(\"\")?[^\"]*(\"\")?[^\"]*)\"\,/);
+ regexpstring=rcline.match(/\s*(?:CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|GROUPBOX|CAPTION|MENUITEM|POPUP)\s*\"([^\"]+(\"\")?[^\"]*(\"\")?[^\"]*)\"\,?/);
// if exist regexpstring, do checks, double "" removal and add strings to array
if (regexpstring) {