diff options
author | reinelt <> | 2004-11-29 04:42:07 +0000 |
---|---|---|
committer | reinelt <> | 2004-11-29 04:42:07 +0000 |
commit | ffe8b98e8daae372ab2dd43e782ccb323c10fe60 (patch) | |
tree | 44f42fa3c9d46b7dec5d9fcc99273c7d88515f74 /widget_bar.c | |
parent | da0b35b5b6d5431b8a01373cd4fc0e40357dc6c5 (diff) | |
download | lcd4linux-ffe8b98e8daae372ab2dd43e782ccb323c10fe60.tar.gz |
[lcd4linux @ 2004-11-29 04:42:06 by reinelt]
removed the 99999 msec limit on widget update time (thanks to Petri Damsten)
Diffstat (limited to 'widget_bar.c')
-rw-r--r-- | widget_bar.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/widget_bar.c b/widget_bar.c index 8d63885..990ef57 100644 --- a/widget_bar.c +++ b/widget_bar.c @@ -1,4 +1,4 @@ -/* $Id: widget_bar.c,v 1.12 2004/06/26 12:05:00 reinelt Exp $ +/* $Id: widget_bar.c,v 1.13 2004/11/29 04:42:07 reinelt Exp $ * * bar widget handling * @@ -21,6 +21,9 @@ * * * $Log: widget_bar.c,v $ + * Revision 1.13 2004/11/29 04:42:07 reinelt + * removed the 99999 msec limit on widget update time (thanks to Petri Damsten) + * * Revision 1.12 2004/06/26 12:05:00 reinelt * * uh-oh... the last CVS log message messed up things a lot... @@ -206,7 +209,7 @@ int widget_bar_init (WIDGET *Self) Compile (Bar->expr_max, &Bar->tree_max); /* bar length, default 1 */ - cfg_number (section, "length", 1, 0, 99999, &(Bar->length)); + cfg_number (section, "length", 1, 0, -1, &(Bar->length)); /* direction: East (default), West, North, South */ c = cfg_get (section, "direction", "E"); @@ -230,7 +233,7 @@ int widget_bar_init (WIDGET *Self) free (c); /* update interval (msec), default 1 sec */ - cfg_number (section, "update", 1000, 10, 99999, &(Bar->update)); + cfg_number (section, "update", 1000, 10, -1, &(Bar->update)); free (section); Self->data=Bar; |