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
This commit is contained in:
parent
6f27bee7ad
commit
f92b6409f1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue