From f92b6409f10003cf5a326658ac36c387337d9d96 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 7 Sep 2002 12:57:30 +0000 Subject: [PATCH] Now tries to unselect before logging git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@953 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Makensisw/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/Makensisw/utils.cpp b/Contrib/Makensisw/utils.cpp index e221d6e8..04b7b00d 100644 --- a/Contrib/Makensisw/utils.cpp +++ b/Contrib/Makensisw/utils.cpp @@ -58,7 +58,7 @@ char *g_input_script; extern BOOL g_warnings; void LogMessage(HWND hwnd,const char *str) { - SendDlgItemMessage(hwnd, IDC_LOGWIN, EM_REPLACESEL, -1, 0); + SendDlgItemMessage(hwnd, IDC_LOGWIN, EM_SETSEL, -1, 0); SendDlgItemMessage(hwnd, IDC_LOGWIN, EM_REPLACESEL, 0, (WPARAM)str); SendDlgItemMessage(hwnd, IDC_LOGWIN, WM_VSCROLL, SB_BOTTOM, 0); }