+ entry.value.integer = atoi(cparsetext);
+ } else
+ haserror = TRUE;
+ }
+}
+
+static void boolvalue()
+{
+ if (!comment) {
+ if (!haserror && entry.name != NULL && (signed)entry.type < 0) {
+ entry.type = Config_Bool;
+ entry.value.bool = (!g_ascii_strcasecmp("true", cparsetext) ||
+ !g_ascii_strcasecmp("yes", cparsetext) ||
+ !g_ascii_strcasecmp("on", cparsetext));