diff options
author | Basil <basil@miranda-ng.org> | 2013-01-30 12:50:59 +0000 |
---|---|---|
committer | Basil <basil@miranda-ng.org> | 2013-01-30 12:50:59 +0000 |
commit | 420462d6640d22e5d93322fc80202b3c8e51241b (patch) | |
tree | 81295dd002b4e508ecd24724c575a76e3f843446 /tools/lpgen/lpgen.js | |
parent | 7048414c2303da7990f7f91015cc4db8f55b737e (diff) |
more precise version.h parsing, description on plugins option page defined not only as __DESCRIPTION, but also simply __DESC
git-svn-id: http://svn.miranda-ng.org/main/trunk@3361 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen/lpgen.js')
-rw-r--r-- | tools/lpgen/lpgen.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js index dd7d45a0db..a7e3b2636c 100644 --- a/tools/lpgen/lpgen.js +++ b/tools/lpgen/lpgen.js @@ -520,7 +520,7 @@ var MAJOR_VERSION=/(?:#define\s+__MAJOR_VERSION\s+)(\d+)/i; var MINOR_VERSION=/(?:#define\s+__MINOR_VERSION\s+)(\d+)/i;
var RELEASE_NUM=/(?:#define\s+__RELEASE_NUM\s+)(\d+)/i;
var BUILD_NUM=/(?:#define\s+__BUILD_NUM\s+)(\d+)/i;
-var description=/(?:#define\s+__DESCRIPTION\s+")(.+)(?=")/i;
+var description=/(?:#define\s+__DESC(?:RIPTION)?\s+")(.+)(?=")/i;
//exec RegExps
filename=filename.exec(allstrings);
pluginname=pluginname.exec(allstrings);
|