aboutsummaryrefslogtreecommitdiffstats
path: root/widget_timer.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-07-31 03:48:09 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-07-31 03:48:09 +0000
commit8a89eeab079decfc4c312438c67d4fc51b8de3c1 (patch)
treea86b6f002c007cb57dd07af2a37621683e59a003 /widget_timer.c
parent16fabe7b64a6e40008403da5d1107ade8f43eb3b (diff)
downloadlcd4linux-8a89eeab079decfc4c312438c67d4fc51b8de3c1.tar.gz
[lcd4linux @ 2006-07-31 03:48:09 by reinelt]
preparations for scrolling git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@680 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_timer.c')
-rw-r--r--widget_timer.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/widget_timer.c b/widget_timer.c
index 0190acd..4c6b055 100644
--- a/widget_timer.c
+++ b/widget_timer.c
@@ -1,4 +1,4 @@
-/* $Id: widget_timer.c,v 1.2 2006/02/25 13:36:33 geronet Exp $
+/* $Id: widget_timer.c,v 1.3 2006/07/31 03:48:09 reinelt Exp $
*
* timer widget handling
*
@@ -21,6 +21,9 @@
*
*
* $Log: widget_timer.c,v $
+ * Revision 1.3 2006/07/31 03:48:09 reinelt
+ * preparations for scrolling
+ *
* Revision 1.2 2006/02/25 13:36:33 geronet
* updated indent.sh, applied coding style
*
@@ -109,17 +112,17 @@ int widget_timer_init(WIDGET * Self)
memset(Timer, 0, sizeof(WIDGET_TIMER));
/* get raw expressions (we evaluate them ourselves) */
- Timer->expression = cfg_get_raw(section, "axpression", NULL);
+ Timer->expression = cfg_get_raw(section, "expression", NULL);
Timer->update_expr = cfg_get_raw(section, "update", "100");
Timer->active_expr = cfg_get_raw(section, "active", "1");
/* sanity checks */
if (Timer->expression == NULL || *Timer->expression == '\0') {
- error("Timer %s has no expression, using '1'", Self->name);
+ error("Timer '%s' has no expression, using '1'", Self->name);
Timer->expression = "1";
}
if (Timer->update_expr == NULL || *Timer->update_expr == '\0') {
- error("Timer %s has no update, using '100'", Self->name);
+ error("Timer '%s' has no update, using '100'", Self->name);
Timer->update_expr = "100";
}