summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-06-14 21:59:15 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-06-14 21:59:15 +0000
commitf98b33efcd99185c4a81eda7eb90098b490bac79 (patch)
tree7e7526b893f0d1954b1b1125994b82a798e126d3 /plugins
parent020dbce21875d369130853dc922b17446ae63ca5 (diff)
PluginUpdater: - Fix for deleting old miranda*.exe (backwards compatibility)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 4504d2ef86..1155a20930 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -138,15 +138,15 @@ static void ApplyUpdates(void *param)
if (opts.bChangePlatform) {
TCHAR mirandaPath[MAX_PATH];
GetModuleFileName(NULL, mirandaPath, _countof(mirandaPath));
- db_set_ts(NULL, MODNAME, "OldBin", mirandaPath);
+ db_set_ts(NULL, MODNAME, "OldBin2", mirandaPath);
db_unset(NULL, MODNAME, DB_SETTING_CHANGEPLATFORM);
}
else {
- ptrT oldbin(db_get_tsa(NULL, MODNAME, "OldBin"));
+ ptrT oldbin(db_get_tsa(NULL, MODNAME, "OldBin2"));
if (oldbin) {
SafeDeleteFile(oldbin);
- db_unset(NULL, MODNAME, "OldBin");
+ db_unset(NULL, MODNAME, "OldBin2");
}
}