From: michael Date: Sat, 28 Apr 2007 04:54:33 +0000 (+0000) Subject: patch from Fox: Fix a typo that prevent Bar display to work X-Git-Tag: svn1203~386 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=b31b2ae439c725f87aebc804ec8b3f97ff0a1c4a;p=lcd4linux.git 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 --- 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)