aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_cfg.c
diff options
context:
space:
mode:
authorreinelt <>2004-01-14 11:33:00 +0000
committerreinelt <>2004-01-14 11:33:00 +0000
commitb8448093e2f554744fa5911b2c96174b78f4ae0f (patch)
tree8322150effdcffca715e116498851a2bba00c953 /plugin_cfg.c
parentb626a0b1272e703d01a8001ddd7bab7b3cd5b6e3 (diff)
downloadlcd4linux-b8448093e2f554744fa5911b2c96174b78f4ae0f.tar.gz
[lcd4linux @ 2004-01-14 11:33:00 by reinelt]
new plugin 'uname' which does what it's called text widget nearly finished first results displayed on MatrixOrbital
Diffstat (limited to '')
-rw-r--r--plugin_cfg.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugin_cfg.c b/plugin_cfg.c
index 0b1a229..de10385 100644
--- a/plugin_cfg.c
+++ b/plugin_cfg.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_cfg.c,v 1.1 2004/01/13 10:03:01 reinelt Exp $
+/* $Id: plugin_cfg.c,v 1.2 2004/01/14 11:33:00 reinelt Exp $
*
* plugin for config file access
*
@@ -23,6 +23,11 @@
*
*
* $Log: plugin_cfg.c,v $
+ * Revision 1.2 2004/01/14 11:33:00 reinelt
+ * new plugin 'uname' which does what it's called
+ * text widget nearly finished
+ * first results displayed on MatrixOrbital
+ *
* Revision 1.1 2004/01/13 10:03:01 reinelt
* new util 'hash' for associative arrays
* new plugin 'cpuinfo'
@@ -62,7 +67,7 @@ static void load_variables (void)
if (strchr(key, '.')!=NULL || strchr(key, ':') !=0) {
error ("ignoring variable '%s' from %s: structures not allowed", key, cfg_source());
} else {
- expression=cfg_get (section, key, "");
+ expression=cfg_get_raw (section, key, "");
if (expression!=NULL && *expression!='\0') {
if (Eval(expression, &result)==0) {
debug ("Variable %s = '%s' (%f)", key, R2S(&result), R2N(&result));