From b116cf1465a8eddf0098e9086aa3050bb96d84bb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 Jul 2014 08:03:29 +0000 Subject: missing default values git-svn-id: http://svn.miranda-ng.org/main/trunk@9962 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PluginUpdater/src/PluginUpdater.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index 56ccad500d..7f41ba7208 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -135,9 +135,9 @@ extern "C" __declspec(dllexport) int Load(void) InitEvents(); - //add sounds - SkinAddNewSoundEx("updatecompleted",LPGEN("Plugin Updater"),LPGEN("Update completed")); - SkinAddNewSoundEx("updatefailed",LPGEN("Plugin Updater"),LPGEN("Update failed")); + // add sounds + SkinAddNewSoundEx("updatecompleted", LPGEN("Plugin Updater"), LPGEN("Update completed")); + SkinAddNewSoundEx("updatefailed", LPGEN("Plugin Updater"), LPGEN("Update failed")); // Upgrade old settings if (!db_get_b(0, MODNAME, "UpdateMode", 0)) { @@ -155,7 +155,9 @@ extern "C" __declspec(dllexport) int Load(void) db_set_b(0, MODNAME, "UpdateMode", UPDATE_MODE_TRUNK_SYMBOLS); db_unset(0, MODNAME, "UpdateURL"); } + else db_set_b(0, MODNAME, "UpdateMode", UPDATE_MODE_CUSTOM); } + else db_set_b(0, MODNAME, "UpdateMode", UPDATE_MODE_STABLE); } return 0; } -- cgit v1.2.3