]> git.webhop.me Git - lcd4linux.git/commitdiff
patch from Fox: Fix a typo that prevent Bar display to work
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 28 Apr 2007 04:54:33 +0000 (04:54 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 28 Apr 2007 04:54:33 +0000 (04:54 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@788 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

widget_bar.c

index 4ce00399e060c67f085852af35224690877611ca..99910dc622e2b9d0bb5cdde05249c57e6e151279 100644 (file)
@@ -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)