diff options
-rw-r--r-- | src/Configuration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Configuration.cpp b/src/Configuration.cpp index 8b5a47b..42217d4 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -265,10 +265,10 @@ Configuration::load() std::cerr << "error: color for unknown port type `" << type_name << "'" << std::endl; } - } else if (key == "module_position" || key[0] == '\"') { + } else if (key == "module_position") { Coord loc; std::string name; - file.ignore(1, '\"'); + file.ignore(std::numeric_limits<std::streamsize>::max(), '\"'); std::getline(file, name, '\"'); SignalDirection type = SignalDirection::input; |