diff options
author | Basil <basil@miranda-ng.org> | 2013-07-09 13:34:22 +0000 |
---|---|---|
committer | Basil <basil@miranda-ng.org> | 2013-07-09 13:34:22 +0000 |
commit | 203597b513941330e6c65a636c53d06e6fb5431b (patch) | |
tree | 841a569ce9ce07340378ffe1e1fb760b9e8862cb /tools/lpgen | |
parent | 7df88e27b051ab172e3e747cdcf3fb9d331224b4 (diff) |
output log of missing file only if logging enabled via /log:"yes"
git-svn-id: http://svn.miranda-ng.org/main/trunk@5296 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen')
-rw-r--r-- | tools/lpgen/translate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lpgen/translate.js b/tools/lpgen/translate.js index 757364c2f2..70b133dde1 100644 --- a/tools/lpgen/translate.js +++ b/tools/lpgen/translate.js @@ -295,7 +295,7 @@ if (!WScript.Arguments.Named.Item("langpack") & !WScript.Arguments.Named.Item("p //Check file existense. If file not found, quit.
function CheckFileExist(file) {
- if (!FSO.FileExists(file)) {
+ if (!FSO.FileExists(file) && log) {
WScript.Echo("Can't find "+file)
};
}
|