diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-08-04 13:04:19 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-08-04 13:04:19 +0000 |
commit | e6a7733799d32bb6bf719ee34beb5b01d9db68ad (patch) | |
tree | c10481b0cbc717e3e5768d5ad2dff0c88d79768b /gadgets/gdbar.c | |
parent | 63a6038c331449d728f090da9cf09de0c7a5124f (diff) | |
download | dzen-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.c | 2 |
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, |