diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-27 08:12:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-27 08:12:59 +0000 |
commit | 7dfa4fde6c5111aa9a761fb6d535fcd904e91805 (patch) | |
tree | baaf3194bb03a553266ff3b6fb259ce773b0403e /plugins | |
parent | b116cf1465a8eddf0098e9086aa3050bb96d84bb (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@9963 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/PluginUpdater/src/PluginUpdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index 7f41ba7208..d0678e91e5 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -140,7 +140,7 @@ extern "C" __declspec(dllexport) int Load(void) SkinAddNewSoundEx("updatefailed", LPGEN("Plugin Updater"), LPGEN("Update failed"));
// Upgrade old settings
- if (!db_get_b(0, MODNAME, "UpdateMode", 0)) {
+ if (-1 == db_get_b(0, MODNAME, "UpdateMode", -1)) {
ptrA dbvUpdateURL(db_get_sa(0, MODNAME, "UpdateURL"));
if (dbvUpdateURL) {
if (!strcmp(dbvUpdateURL, DEFAULT_UPDATE_URL)) {
|