diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-04-28 04:54:33 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-04-28 04:54:33 +0000 |
commit | b31b2ae439c725f87aebc804ec8b3f97ff0a1c4a (patch) | |
tree | e5476a25229362fd078be8157ecf70cd1bf418eb /widget_bar.c | |
parent | 7960cc8934ddced328104746632d1f400ecc26b9 (diff) | |
download | lcd4linux-b31b2ae439c725f87aebc804ec8b3f97ff0a1c4a.tar.gz |
patch from Fox: Fix a typo that prevent Bar display to work
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@788 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_bar.c')
-rw-r--r-- | widget_bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget_bar.c b/widget_bar.c index 4ce0039..99910dc 100644 --- a/widget_bar.c +++ b/widget_bar.c @@ -84,7 +84,7 @@ void widget_bar_update(void *Self) /* maximum: if expression is empty, do auto-scaling */ if (property_valid(&Bar->expr_max)) { property_eval(&Bar->expr_max); - max = P2N(&Bar->expr_min); + max = P2N(&Bar->expr_max); } else { max = Bar->max; if (val1 > max) |