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 /tipper/options.cpp | |
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
Diffstat (limited to 'tipper/options.cpp')
-rw-r--r-- | tipper/options.cpp | 4 |
1 files changed, 2 insertions, 2 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); |