diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-26 22:40:51 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-26 22:40:51 +0000 |
commit | 7c6899953550c3a1f6a4ce611a04f24bd0e232f7 (patch) | |
tree | e5420440ab5c4c7fdd2bba6fb61b242be31d981b | |
parent | 5a86d8a829bc6de9fac5aafb5d77abd0b98cd8b9 (diff) |
fix for memory corruption (thx george)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@62 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | tipper/popwin.cpp | 2 | ||||
-rw-r--r-- | tipper/version.h | 2 | ||||
-rw-r--r-- | tipper/version.rc | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/tipper/popwin.cpp b/tipper/popwin.cpp index 72d38c8..5110ae8 100644 --- a/tipper/popwin.cpp +++ b/tipper/popwin.cpp @@ -122,7 +122,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa pwd->rows = (RowData *)realloc(pwd->rows, sizeof(RowData) * (pwd->row_count + 1)); pwd->rows[pwd->row_count].line_above = false; pwd->rows[pwd->row_count].value_newline = true; - pwd->rows[pwd->row_count].swzLabel = _T(""); + pwd->rows[pwd->row_count].swzLabel = _tcsdup(_T("")); pwd->rows[pwd->row_count].swzValue = _tcsdup(buff);
pwd->row_count++; top_message = true; diff --git a/tipper/version.h b/tipper/version.h index 21dc46d..0d9b3f5 100644 --- a/tipper/version.h +++ b/tipper/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 3
#define __RELEASE_NUM 0
-#define __BUILD_NUM 0
+#define __BUILD_NUM 1
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
diff --git a/tipper/version.rc b/tipper/version.rc index f8bed6d..b613392 100644 --- a/tipper/version.rc +++ b/tipper/version.rc @@ -24,6 +24,7 @@ BEGIN VALUE "InternalName", __PLUGIN_NAME
VALUE "LegalCopyright", __COPYRIGHT
VALUE "OriginalFilename", __FILENAME
+ VALUE "FileVersion", __VERSION_STRING
END
END
BLOCK "VarFileInfo"
|