From b31b2ae439c725f87aebc804ec8b3f97ff0a1c4a Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 28 Apr 2007 04:54:33 +0000 Subject: 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 --- widget_bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widget_bar.c') 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) -- cgit v1.2.3