From 92be070586e97f44892da28a592aa1c0925a40d1 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Wed, 7 Apr 2010 00:07:56 +0000 Subject: Fixed updating issues git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@502 4f64403b-2f21-0410-a795-97e2b3489a10 --- updater/services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'updater/services.cpp') 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); -- cgit v1.2.3