* Config.cpp : don't try to parse config, if path is empty

pull/358/head
hagen 8 years ago
parent e6e2f04a10
commit 022642f4d5

@ -118,6 +118,9 @@ namespace config {
}
void ParseConfig(const std::string& path) {
if (path == "")
return;
std::ifstream config(path, std::ios::in);
if (!config.is_open()) {

Loading…
Cancel
Save