Fix incorrect warning while parsing system3.ini

Also fixes a typo in README.md.

Fixes #12.
This commit is contained in:
kichikuou
2021-07-08 17:12:42 +09:00
parent 98038a5c74
commit af6da1f0c5
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -90,8 +90,7 @@ void Config::load_ini()
current_section = CONFIG;
else
WARNING(INIFILENAME ":%d Unknown section \"%s\"", lineno, val);
}
if (current_section == CONFIG) {
} else if (current_section == CONFIG) {
if (sscanf(line, "noantialias = %s", val))
no_antialias = to_bool(val, lineno);
else if (sscanf(line, "savedir = %s", val))