summaryrefslogtreecommitdiff
path: root/plugins/Updater
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-30 13:33:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-30 13:33:28 +0000
commitb8a02a2b98e7b0e6a8a54cb140a873039d9c6d3d (patch)
tree8dd46393de0047d87492a37e4ab057f143153aa8 /plugins/Updater
parentb0632a264c7ce0120af88e915a455c3167f1d5c5 (diff)
- setting thread names;
- warning fixes; - code cleaning; - option to disable sounds during idle git-svn-id: http://svn.miranda-ng.org/main/trunk@692 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Updater')
-rw-r--r--plugins/Updater/options.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/Updater/options.cpp b/plugins/Updater/options.cpp
index 15e1d69754..e440cd684e 100644
--- a/plugins/Updater/options.cpp
+++ b/plugins/Updater/options.cpp
@@ -388,14 +388,11 @@ int OptInit(WPARAM wParam,LPARAM lParam)
return 0;
}
-
-#define DBGetString DBGetContactSettingTString
-#define DBWriteString DBWriteContactSettingTString
-
-
-void InitOptionsMenuItems() {
+void InitOptionsMenuItems()
+{
if(options.restart_menu_item)
add_restart_menu_item();
+
if(options.update_and_exit_menu_item)
add_update_and_exit_menu_item();
}