From 8d2322e9200357df2fd873d385f99febad35effd Mon Sep 17 00:00:00 2001 From: sje Date: Sun, 29 Jul 2007 02:54:40 +0000 Subject: set update url based on miranda's unicode status allow ansi ver to read unicode dat file allow download of either version to replace either version (plugin name aliases) git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@305 4f64403b-2f21-0410-a795-97e2b3489a10 --- updater/scan.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'updater/scan.cpp') diff --git a/updater/scan.cpp b/updater/scan.cpp index 5dda22a..8a9e15b 100644 --- a/updater/scan.cpp +++ b/updater/scan.cpp @@ -16,6 +16,10 @@ void InitAlternateShortNameMap() { //alternate_shortname_map["Messaging Style Conversation"] = "nConvers++"; // will this conflict with other nConvers'? alternate_shortname_map["MimQQ-libeva"] = "MirandaQQ (libeva Version)"; alternate_shortname_map["Icons Library Manager (Unicode)"] = "Icons library manager"; + + // grr + alternate_shortname_map["Updater"] = __PLUGIN_NAME; + alternate_shortname_map["Updater (Unicode)"] = __PLUGIN_NAME; } void ScanPlugins(FilenameMap *fn_map, UpdateList *update_list) { @@ -59,7 +63,7 @@ void ScanPlugins(FilenameMap *fn_map, UpdateList *update_list) { if((dll_info_func_ex && (pluginInfo = (PLUGININFO *)dll_info_func_ex(mirandaVersion))) || (dll_info_func && (pluginInfo = dll_info_func(mirandaVersion)))) { // *** This is a dodgy and unfair hack... - // In order to disable new plugins that may be unintentionally installed whith an update, + // In order to disable new plugins that may be unintentionally installed with an update, // updater will check for the 'plugindisabled' setting for each dll. The problem is that // this setting may not be there for running plugins - and isn't there for new ones. So, // we'll disable anything new when the setting isn't found anyway - but we write the -- cgit v1.2.3