diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-09-11 01:52:13 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-09-11 01:52:13 +0000 |
commit | 360850ab80b359ac758abf14ad65a1d4c7cec218 (patch) | |
tree | 97068a40e0742176fdb4d3f53daa98ee82528edc | |
parent | f8d74890fda17921f15a3f9675188a2d6d35af1f (diff) |
minor options save/load changes
ensure unique version for borkra's unicode patch (oops)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@333 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | tipper/options.cpp | 4 | ||||
-rw-r--r-- | tipper/tipper.mdsp | 9 | ||||
-rw-r--r-- | tipper/version.h | 2 |
3 files changed, 8 insertions, 7 deletions
diff --git a/tipper/options.cpp b/tipper/options.cpp index 3fe5314..b601039 100644 --- a/tipper/options.cpp +++ b/tipper/options.cpp @@ -154,7 +154,7 @@ bool LoadDS(DisplaySubst *ds, int index) { mir_snprintf(setting, 512, "Module%d", index); ds->module_name[0] = 0; - if(!DBGetContactSetting(0, MODULE, setting, &dbv)) { + if(!DBGetContactSettingString(0, MODULE, setting, &dbv)) { strncpy(ds->module_name, dbv.pszVal, MODULE_NAME_LEN); ds->module_name[MODULE_NAME_LEN - 1] = 0; DBFreeVariant(&dbv); @@ -162,7 +162,7 @@ bool LoadDS(DisplaySubst *ds, int index) { mir_snprintf(setting, 512, "Setting%d", index); ds->setting_name[0] = 0; - if(!DBGetContactSetting(0, MODULE, setting, &dbv)) { + if(!DBGetContactSettingString(0, MODULE, setting, &dbv)) { strncpy(ds->setting_name, dbv.pszVal, SETTING_NAME_LEN); ds->setting_name[SETTING_NAME_LEN - 1] = 0; DBFreeVariant(&dbv); diff --git a/tipper/tipper.mdsp b/tipper/tipper.mdsp index f431316..54ff494 100644 --- a/tipper/tipper.mdsp +++ b/tipper/tipper.mdsp @@ -104,8 +104,9 @@ extraResourceOptions= 1=resource.rc
[Other]
[History]
-message_pump.cpp,4377
-tipper.cpp,1265
-popwin.cpp,4146
+version.h,543
m_tipper.h,760
-version.h,150
+popwin.cpp,4146
+tipper.cpp,1265
+message_pump.cpp,4377
+options.cpp,0
diff --git a/tipper/version.h b/tipper/version.h index 3e375de..372aed5 100644 --- a/tipper/version.h +++ b/tipper/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 4
#define __RELEASE_NUM 0
-#define __BUILD_NUM 9
+#define __BUILD_NUM 10
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
|