BAD HANDY.... BAD! watch your types there... or we'll feed you cod liver oil!

:)


SVN revision: 11855
This commit is contained in:
Carsten Haitzler 2004-10-13 07:20:35 +00:00
parent e56130f4ff
commit 02e79c381d
1 changed files with 8 additions and 2 deletions

View File

@ -88,16 +88,22 @@ ecore_config_file_load(char *file)
{ {
if (e_db_int_get(db, keys[x], &itmp)) 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) switch (pt)
{ {
case PT_BLN: case PT_BLN:
ecore_config_boolean_set(keys[x], itmp); ecore_config_boolean_set(keys[x], itmp);
break; break;
default: default:
*/
ecore_config_int_set(keys[x], itmp); ecore_config_int_set(keys[x], itmp);
break; /* break;
} }
*/
} }
else else
{ {