aboutsummaryrefslogtreecommitdiffstats
path: root/gadgets/gdbar.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-08-04 13:04:19 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-08-04 13:04:19 +0000
commite6a7733799d32bb6bf719ee34beb5b01d9db68ad (patch)
treec10481b0cbc717e3e5768d5ad2dff0c88d79768b /gadgets/gdbar.c
parent63a6038c331449d728f090da9cf09de0c7a5124f (diff)
downloaddzen-e6a7733799d32bb6bf719ee34beb5b01d9db68ad.tar.gz
dzen-e6a7733799d32bb6bf719ee34beb5b01d9db68ad.zip
ready for release 0.8.0
new in-text commands: ^fg() and ^bg() without arguments set default colors ^ro() and ^co() outlined rectangle/circle fixes to gcpubar and gdbar to use ^fg() git-svn-id: http://dzen.googlecode.com/svn/trunk@151 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'gadgets/gdbar.c')
-rw-r--r--gadgets/gdbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gadgets/gdbar.c b/gadgets/gdbar.c
index 4138770..af25632 100644
--- a/gadgets/gdbar.c
+++ b/gadgets/gdbar.c
@@ -51,7 +51,7 @@ pbar(const char* label, double perc, int maxc, int height, int pnl) {
else
rp = (int)perc;
- printf("%s %3d%% ^fg(%s)^r(%dx%d)^fg(%s)^r(%dx%d)%s",
+ printf("%s %3d%% ^fg(%s)^r(%dx%d)^fg(%s)^r(%dx%d)^fg()%s",
label ? label : "", rp,
fg, (int)l, height,
bg, maxc-(int)l, height,