From 3da170735adeb50126f0a8826fe8456834b840fe Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 6 Nov 2003 00:58:37 +0000 Subject: [PATCH] fixed 1%...35%...80%...100% bug with details set to textonly git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3104 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 7fd57fe6..9699043b 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -1379,12 +1379,14 @@ void NSISCALL update_status_text(int strtab, const char *text) { new_item.iItem--; ListView_SetItem(linsthwnd, &new_item); - tmp[tmplen]=0; } else ListView_InsertItem(linsthwnd, &new_item); ListView_EnsureVisible(linsthwnd, new_item.iItem, 0); } + + if (ui_st_updateflag & 1) + tmp[tmplen]=0; } }