summaryrefslogtreecommitdiff
path: root/updater/services.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-04-07 00:07:56 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-04-07 00:07:56 +0000
commit92be070586e97f44892da28a592aa1c0925a40d1 (patch)
treee36edfc2a064a88f75ee18ac5ef67adaa5a399d8 /updater/services.cpp
parent9d777637239fed893c26c7d8aee3f929937311ba (diff)
Fixed updating issues
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@502 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/services.cpp')
-rw-r--r--updater/services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/updater/services.cpp b/updater/services.cpp
index b5c8a88..4e90b15 100644
--- a/updater/services.cpp
+++ b/updater/services.cpp
@@ -71,7 +71,7 @@ bool DownloadUpdates(UpdateList &todo, FilenameMap *map, bool dlls_only) {
}
if(!use_popup) {
- PostMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)msg, 0);
+ SendMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)msg, 0);
PostMessage(hwndProgress, WMU_SETPROGRESS, (WPARAM)(int)(index * 100.0 / todo.getCount()), 0);
} //else if(hwndPop) // disabled - just annoying
//ChangePopupText(hwndPop, msg);
@@ -235,7 +235,7 @@ void CheckForUpdatesWorker(void *param) {
}
if(!use_popup) {
- PostMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)msg, 0);
+ SendMessage(hwndProgress, WMU_SETMESSAGE, (WPARAM)msg, 0);
PostMessage(hwndProgress, WMU_SETPROGRESS, (WPARAM)(int)(index * 100.0 / count), 0);
} //else if(hwndPop) // disabled - just annoying
//ChangePopupText(hwndPop, msg);