From 1e15edb513b0ba5c69c94328685c6d21368671bd Mon Sep 17 00:00:00 2001 From: gotmor Date: Thu, 27 Dec 2007 11:44:32 +0000 Subject: fixes in vertical bars git-svn-id: http://dzen.googlecode.com/svn/trunk@182 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- gadgets/gdbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gadgets') diff --git a/gadgets/gdbar.c b/gadgets/gdbar.c index 0e1cfbc..f5dff11 100644 --- a/gadgets/gdbar.c +++ b/gadgets/gdbar.c @@ -70,7 +70,7 @@ pbar(const char* label, double perc, int maxc, int height, int segw, int segh, i printf("^fg(%s)^p(-%d)^r(%dx%d+%d-%d')", bg, segw, segw, segh, 0, (segh+segb+1)*(i+1)); } - printf("%s", pnl ? "\n" : ""); + printf("^ib(0)^fg()%s", pnl ? "\n" : ""); } else printf("%s%3d%% ^fg(%s)^r(%dx%d)^fg(%s)^r(%dx%d)^fg()%s", -- cgit v1.2.3-54-g00ecf