diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-07-12 17:23:39 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-07-12 17:23:39 -0400 |
commit | 166f548efcab0efac6374c742fdad2c65349965f (patch) | |
tree | 47704f947b2903af6d1b41fad9a0cc65bcfc6a60 | |
parent | 21ef7a9136cabaa8ed6a58d9ba12ca803b0c4478 (diff) |
Fixed CustProgressBox() for systems without weak symbols (wrong semantics)
-rw-r--r-- | src/ui.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -168,11 +168,11 @@ int CustHighlightButton::handle(int e) * Used to resize the progress boxes automatically. */ class CustProgressBox : public InvisibleBox { + int padding; public: CustProgressBox(int x, int y, int w, int h, const char *l=0) : - InvisibleBox(x,y,w,h,l) {}; + InvisibleBox(x,y,w,h,l) { padding = 0; }; void update_label(const char *lbl) { - static int padding = 0; int w,h; if (!padding) { copy_label("W"); |