summaryrefslogtreecommitdiff
path: root/updater/scan.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-29 02:54:40 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-29 02:54:40 +0000
commit8d2322e9200357df2fd873d385f99febad35effd (patch)
tree6f13ac4fe9999ca21192a054045c5b857a815e8b /updater/scan.cpp
parent3436bfa6059138bdb2007ae0a97a7d9d313e83c7 (diff)
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
Diffstat (limited to 'updater/scan.cpp')
-rw-r--r--updater/scan.cpp6
1 files changed, 5 insertions, 1 deletions
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