Browse Source

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

pull/358/head
hagen 9 years ago
parent
commit
022642f4d5
  1. 3
      Config.cpp

3
Config.cpp

@ -118,6 +118,9 @@ namespace config { @@ -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