diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-11-10 04:49:47 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-11-10 04:49:47 +0000 |
commit | 2a63014742e62d7d036ba1009ced1a50cab16e93 (patch) | |
tree | 7bb729f44c501e88185d65dd946ff05e985eba2d /updater/services.cpp | |
parent | cca5b3bf138052f870cc4f6596f7bf18172e1f62 (diff) |
Added URL sorting to improve update performance
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@553 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/services.cpp')
-rw-r--r-- | updater/services.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/updater/services.cpp b/updater/services.cpp index 063a907..49b3c91 100644 --- a/updater/services.cpp +++ b/updater/services.cpp @@ -216,13 +216,13 @@ void CheckForUpdatesWorker(void *param) { if(options.use_xml_backend)
{
- if(UpdateXMLData(MC_PLUGINS)) {// prevent double error messages (in some cases)
+ if (UpdateXMLData(MC_PLUGINS)) {// prevent double error messages (in some cases)
// iterate through the registered plugins
- if(!use_popup) PostMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)TranslateT("Scanning plugins folder"), 0);
+ if (!use_popup) PostMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)TranslateT("Scanning plugins folder"), 0);
ScanPlugins(&fn_map, &update_list);
- if(UpdateXMLData(MC_LOCALIZATION)) {
- if(!use_popup) PostMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)TranslateT("Scanning language packs"), 0);
+ if (UpdateXMLData(MC_LOCALIZATION)) {
+ if (!use_popup) PostMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)TranslateT("Scanning language packs"), 0);
ScanLangpacks(&fn_map, &update_list);
}
@@ -230,7 +230,7 @@ void CheckForUpdatesWorker(void *param) { UpdateFLIDs(update_list);
}
- if(!use_popup) PostMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)TranslateT("Checking for updates"), 0);
+ if (!use_popup) PostMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)TranslateT("Checking for updates"), 0);
}
UpdateList update_list2(update_list);
|