summaryrefslogtreecommitdiff
path: root/updater/services.cpp
diff options
context:
space:
mode:
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);