diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-11-21 06:42:54 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-11-21 06:42:54 +0000 |
commit | 36c83d1449804303aa2c72262627fde85441ccda (patch) | |
tree | 5cd53a783f6d66180db7891e06c3c24fb2c60776 | |
parent | 3722709997f540d24f802a2766018a5d0a0f9f47 (diff) |
init DBVARIANT for GET_SETTING_STR call (thx SloMo)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@382 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | tipper/translations.cpp | 2 | ||||
-rw-r--r-- | tipper/version.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tipper/translations.cpp b/tipper/translations.cpp index 7dcc1fe..0e878de 100644 --- a/tipper/translations.cpp +++ b/tipper/translations.cpp @@ -41,7 +41,7 @@ void AddTranslation(DBVTranslation *new_trans) { } TCHAR *null_translation(HANDLE hContact, const char *module_name, const char *setting_name, TCHAR *buff, int bufflen) { - DBVARIANT dbv; + DBVARIANT dbv = {0}; buff[0] = 0; if(ServiceExists(MS_DB_CONTACT_GETSETTING_STR)) { if(DBGetContactSettingStringUtf(hContact, module_name, setting_name, &dbv)) diff --git a/tipper/version.h b/tipper/version.h index e313d4f..8f45d94 100644 --- a/tipper/version.h +++ b/tipper/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 4
#define __RELEASE_NUM 1
-#define __BUILD_NUM 5
+#define __BUILD_NUM 6
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
|