diff options
author | Basil <basil@miranda-ng.org> | 2013-07-08 07:18:29 +0000 |
---|---|---|
committer | Basil <basil@miranda-ng.org> | 2013-07-08 07:18:29 +0000 |
commit | a892c7a027bbb7765fd541c19677def67942cc70 (patch) | |
tree | b48e04c99620143e02a1b8b5ef8448772cb89159 /tools/lpgen | |
parent | b6b5093f78de7f90f2c10e520236a6c584c22e59 (diff) |
Fix for doubled ";Version" string for some plugins.
git-svn-id: http://svn.miranda-ng.org/main/trunk@5265 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen')
-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 e52485a49f..8bc89a6509 100644 --- a/tools/lpgen/lpgen.js +++ b/tools/lpgen/lpgen.js @@ -530,8 +530,8 @@ array.push(";============================================================"); //push results of regexp vars into array
if (filename) array.push("; File: "+filename[1]); else array.push("; File: "+plugin+".dll");
if (pluginname) array.push("; Plugin: "+pluginname[1]); else array.push("; Plugin: "+plugin);
-if (MAJOR_VERSION) array.push("; Version: "+MAJOR_VERSION[1]+"."+MINOR_VERSION[1]+"."+RELEASE_NUM[1]+"."+BUILD_NUM[1]);
if (VERSION_STRING) array.push("; Version: "+VERSION_STRING[1]);
+if (MAJOR_VERSION && !VERSION_STRING) array.push("; Version: "+MAJOR_VERSION[1]+"."+MINOR_VERSION[1]+"."+RELEASE_NUM[1]+"."+BUILD_NUM[1]);
if (!MAJOR_VERSION && !VERSION_STRING) array.push("; Version: x.x.x.x");
if (author) array.push("; Authors: "+fixHexa(author[1])); else array.push("; Authors: ");
//add a header end mark
|