summaryrefslogtreecommitdiff
path: root/tools/lpgen
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lpgen')
-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 9f40e691ea..85dcba9c89 100644
--- a/tools/lpgen/lpgen.js
+++ b/tools/lpgen/lpgen.js
@@ -449,7 +449,7 @@ function ParseSourceFile (FileTextVar,array) {
//remove first and last "
nofirstlaststring=noslashstring.slice(1, -1)
//remove escape slashes before ' and "
- stringtolangpack=nofirstlaststring.replace(/\\(['"])/g,"$1");
+ stringtolangpack=nofirstlaststring.replace(/\\(")/g,"$1");
///if our string still exist, and length at least one symbol
if (stringtolangpack.length>0) {
//brand new _T() crap filtering engine :)