Enabled the validation of GUI WML.
This commit is contained in:
parent
69827944a0
commit
59b0464746
1 changed files with 1 additions and 2 deletions
|
@ -488,8 +488,7 @@ void load_settings()
|
|||
game_config::config_cache::instance().get_preproc_map());
|
||||
scoped_istream stream = preprocess_file(get_wml_location("gui/default.cfg"), &preproc);
|
||||
|
||||
// read(cfg, *stream, &validator);
|
||||
read(cfg, *stream);
|
||||
read(cfg, *stream, &validator);
|
||||
} catch(config::error&) {
|
||||
ERR_GUI_P << "Setting: could not read file 'data/gui/default.cfg'.\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue