From aea597bca40590621ecb9ff0c449021173345069 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 5 Aug 2002 21:09:23 +0000 Subject: [PATCH] Can now add lines to install log window from an external DLL without problems. git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@653 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 4f39303b..5babab9d 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -1122,9 +1122,9 @@ void update_status_text(const char *text1, const char *text2) { // Changed by Amir Szekely 26th July 2002 new_item.pszText=ps_tmpbuf; + new_item.iItem=ListView_GetItemCount(insthwnd); ListView_InsertItem(insthwnd, &new_item); ListView_EnsureVisible(insthwnd, new_item.iItem, 0); - new_item.iItem++; GetClientRect(insthwnd,&r); ListView_SetColumnWidth(insthwnd, 0, r.right-r.left); }