aboutsummaryrefslogtreecommitdiffstats
path: root/widget_bar.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-04-28 04:54:33 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-04-28 04:54:33 +0000
commitb31b2ae439c725f87aebc804ec8b3f97ff0a1c4a (patch)
treee5476a25229362fd078be8157ecf70cd1bf418eb /widget_bar.c
parent7960cc8934ddced328104746632d1f400ecc26b9 (diff)
downloadlcd4linux-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.c2
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)