From bb2c0c5879c973f658a823df7c979409c1caa76c Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 29 Nov 2004 04:42:07 +0000 Subject: [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 --- widget_bar.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'widget_bar.c') 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; -- cgit v1.2.3