Follow up to ac1cf04

Thanks to @CairoLee
This commit is contained in:
Lemongrass3110 2017-08-10 23:33:41 +02:00
parent 8417d7616b
commit 74cc00f88e

View File

@ -50,6 +50,8 @@ yamlwrapper* yaml_load_file(const char* file_name) {
} catch (YAML::ParserException &e) {
ShowError("YAML Exception Caught: %s\n", e.what());
return NULL;
} catch (YAML::BadFile &e) {
return NULL;
}
return new yamlwrapper(node);