mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-09 15:19:53 +03:00
Fix incorrect warning while parsing system3.ini
Also fixes a typo in README.md. Fixes #12.
This commit is contained in:
+1
-2
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user