summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-27 08:03:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-27 08:03:29 +0000
commitb116cf1465a8eddf0098e9086aa3050bb96d84bb (patch)
tree8c781c7aaae460166befe86436d933756eeca19a /plugins
parentf72b507e6302602f14b8a5f47524dc147cd61ddd (diff)
missing default values
git-svn-id: http://svn.miranda-ng.org/main/trunk@9962 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/PluginUpdater/src/PluginUpdater.cpp8
1 files changed, 5 insertions, 3 deletions
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;
}