Handle windowtype and CHOOSE config errors

This commit is contained in:
Pasi Kallinen
2017-09-09 13:50:34 +03:00
parent 87f991ecfc
commit cfb09c9bf8
5 changed files with 16 additions and 6 deletions

View File

@@ -2293,6 +2293,10 @@ int src;
section = choose_random_part(bufp, ',');
if (section)
config_section_chosen = dupstr(section);
else {
config_error_add("No config section to choose");
retval = 0;
}
} else if (match_varname(buf, "AUTOPICKUP_EXCEPTION", 5)) {
add_autopickup_exception(bufp);
} else if (match_varname(buf, "BINDINGS", 4)) {