diff options
author | Reinhard Tartler <siretart@tauware.de> | 2007-04-30 09:35:54 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2007-04-30 09:35:54 +0200 |
commit | 874ef72c5b807b61bc53dbaa0fa623b40bff1736 (patch) | |
tree | 3c44151e2132fa82d3e7eef2aa82eee1c9e1369d /widget_bar.c | |
parent | cbaf3ad73900f63eae0add0e33439a1bf04b5a1e (diff) | |
download | lcd4linux-874ef72c5b807b61bc53dbaa0fa623b40bff1736.tar.gz |
new upstream version
Diffstat (limited to 'widget_bar.c')
-rw-r--r-- | widget_bar.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/widget_bar.c b/widget_bar.c index cd2fd1d..7421205 100644 --- a/widget_bar.c +++ b/widget_bar.c @@ -1,4 +1,4 @@ -/* $Id: widget_bar.c 753 2007-01-21 06:19:17Z michael $ +/* $Id: widget_bar.c 789 2007-04-30 04:48:10Z michael $ * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/widget_bar.c $ * * bar widget handling @@ -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) @@ -214,9 +214,9 @@ int widget_bar_quit(WIDGET * Self) WIDGET_CLASS Widget_Bar = { - name:"bar", - type:WIDGET_TYPE_RC, - init:widget_bar_init, - draw:NULL, - quit:widget_bar_quit, + .name = "bar", + .type = WIDGET_TYPE_RC, + .init = widget_bar_init, + .draw = NULL, + .quit = widget_bar_quit, }; |