From 8d5988205fb924d0f962ae2341a9385a41341b17 Mon Sep 17 00:00:00 2001 From: Robert Manea Date: Tue, 5 May 2009 19:55:04 +0200 Subject: small fix to build_progressbar_ascii() --- uzbl.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'uzbl.c') diff --git a/uzbl.c b/uzbl.c index 4752555..c9e822f 100644 --- a/uzbl.c +++ b/uzbl.c @@ -421,12 +421,8 @@ build_progressbar_ascii(int percent) { l = (int)(l+.5)>=(int)l ? l+.5 : l; g_string_append(bar, "["); - for(i=0; i<(int)l; i++) - if(i==width) { - g_string_append(bar, ">"); - break; - } else - g_string_append(bar, "="); + for(i=1; i<(int)l; i++) + g_string_append(bar, "="); for(; i