diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-11-29 04:42:07 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-11-29 04:42:07 +0000 |
commit | bb2c0c5879c973f658a823df7c979409c1caa76c (patch) | |
tree | 44f42fa3c9d46b7dec5d9fcc99273c7d88515f74 /widget_bar.c | |
parent | b1946ed6796f73cbcff9f131337f2fc0f41205a5 (diff) | |
download | lcd4linux-bb2c0c5879c973f658a823df7c979409c1caa76c.tar.gz |
[lcd4linux @ 2004-11-29 04:42:06 by reinelt]
removed the 99999 msec limit on widget update time (thanks to Petri Damsten)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@496 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-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; |