summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-05-12 13:51:29 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-05-12 13:51:29 +0000
commit7e3de4d68f777be7834ec59a735bb0f938e9b7c8 (patch)
tree3985a3dbba6cd5f0b9cd15fff2e2d996bdcc011c
parentf53da655fee661cb238b78bd618dc47c8b91ad93 (diff)
we don't need to remove \ before ' coz this construction not correct
git-svn-id: http://svn.miranda-ng.org/main/trunk@9162 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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 :)