diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-13 16:23:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-13 16:23:06 +0000 |
commit | 8aebeeca820d48c4a126bc7670b4a558d73ed881 (patch) | |
tree | 71d9528bc084a8154eead37e36271a52ffdde4c5 | |
parent | d798b8a8f1571fc2710288a7aa0d4ac0e3a24331 (diff) |
bug fix: crash in ?directory?
git-svn-id: http://svn.miranda-ng.org/main/trunk@6055 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Variables/src/Version.h | 2 | ||||
-rw-r--r-- | plugins/Variables/src/parse_system.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/src/Version.h b/plugins/Variables/src/Version.h index 374b0f1579..c59bac5cba 100644 --- a/plugins/Variables/src/Version.h +++ b/plugins/Variables/src/Version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 2
#define __RELEASE_NUM 3
-#define __BUILD_NUM 9
+#define __BUILD_NUM 10
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
diff --git a/plugins/Variables/src/parse_system.cpp b/plugins/Variables/src/parse_system.cpp index 69053bba1b..8cf00a28af 100644 --- a/plugins/Variables/src/parse_system.cpp +++ b/plugins/Variables/src/parse_system.cpp @@ -167,7 +167,7 @@ static TCHAR *parseDirectory(ARGUMENTSINFO *ai) { depth = ttoi(ai->targv[2]);
if (depth <= 0)
- return ai->targv[1];
+ return mir_tstrdup(ai->targv[1]);
for (ei = 0; ei < _tcslen(ai->targv[1]); ei++)
{
|