aboutsummaryrefslogtreecommitdiffstats
path: root/gadgets
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-08-17 09:45:18 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-08-17 09:45:18 +0000
commit39d56054fb02d5a67b2f5dab1a87e05d546aaaf1 (patch)
tree78ca55c3d17a578695f7ea66699eab2cbfd66278 /gadgets
parent8fa0611e50a63af17ef3bab691b4a148951d55cf (diff)
downloaddzen-39d56054fb02d5a67b2f5dab1a87e05d546aaaf1.tar.gz
dzen-39d56054fb02d5a67b2f5dab1a87e05d546aaaf1.zip
missing fflush() in gdbar.c
git-svn-id: http://dzen.googlecode.com/svn/trunk@155 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'gadgets')
-rw-r--r--gadgets/gdbar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gadgets/gdbar.c b/gadgets/gdbar.c
index af25632..918caf0 100644
--- a/gadgets/gdbar.c
+++ b/gadgets/gdbar.c
@@ -56,6 +56,8 @@ pbar(const char* label, double perc, int maxc, int height, int pnl) {
fg, (int)l, height,
bg, maxc-(int)l, height,
pnl ? "\n" : "");
+
+ fflush(stdout);
}
int