From 02e79c381d4d86ffbd758b8c32f4ca4bc031e7b7 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 13 Oct 2004 07:20:35 +0000 Subject: [PATCH] BAD HANDY.... BAD! watch your types there... or we'll feed you cod liver oil! :) SVN revision: 11855 --- legacy/ecore/src/lib/ecore_config/edb.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_config/edb.c b/legacy/ecore/src/lib/ecore_config/edb.c index 6af852552e..53191768ba 100644 --- a/legacy/ecore/src/lib/ecore_config/edb.c +++ b/legacy/ecore/src/lib/ecore_config/edb.c @@ -88,16 +88,22 @@ ecore_config_file_load(char *file) { if (e_db_int_get(db, keys[x], &itmp)) { - pt = ecore_config_type_guess(keys[x], itmp); + /* eh? how can this GUESS a boolean or not from an int? how? */ + /* this only works possibly if its a string!!! */ + /* disable booleans stuff ..*/ +/* + pt = ecore_config_type_guess(keys[x], &itmp); switch (pt) { case PT_BLN: ecore_config_boolean_set(keys[x], itmp); break; default: + */ ecore_config_int_set(keys[x], itmp); - break; +/* break; } + */ } else {