summaryrefslogtreecommitdiff
path: root/plugins/Updater
diff options
context:
space:
mode:
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();
}