summaryrefslogtreecommitdiff
path: root/plugins/Updater/options.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-16 17:42:08 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-16 17:42:08 +0000
commit5975b2d0903bd5df128d55e20cd27d7c13b4e46c (patch)
tree6696492511c591fa8bf3b65a64864245caa3e7c2 /plugins/Updater/options.cpp
parent8617d7e00546f892c9084f7c382648b23d8bbb63 (diff)
another portion of "#ifdef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@448 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Updater/options.cpp')
-rw-r--r--plugins/Updater/options.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/Updater/options.cpp b/plugins/Updater/options.cpp
index 7539ce2047..1c4545d76e 100644
--- a/plugins/Updater/options.cpp
+++ b/plugins/Updater/options.cpp
@@ -389,13 +389,10 @@ int OptInit(WPARAM wParam,LPARAM lParam)
return 0;
}
-#ifdef _UNICODE
+
#define DBGetString DBGetContactSettingTString
#define DBWriteString DBWriteContactSettingTString
-#else
-#define DBGetString DBGetContactSetting
-#define DBWriteString DBWriteContactSettingString
-#endif
+
void InitOptionsMenuItems() {
if(options.restart_menu_item)
@@ -451,9 +448,9 @@ void LoadOptions(void)
{
FOLDERSDATA fd = {0};
fd.cbSize = sizeof(fd);
-#ifdef _UNICODE
+
fd.flags = FF_UNICODE;
-#endif
+
strcpy(fd.szSection, "Updates");
strcpy(fd.szName, "Backups");