Enabled the validation of GUI WML.

This commit is contained in:
Sytyi Nick 2011-08-23 20:19:35 +00:00
parent 69827944a0
commit 59b0464746

View file

@ -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";
}