diff options
-rw-r--r-- | lib94/warrior.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib94/warrior.cpp b/lib94/warrior.cpp index e0d7192..e5b0095 100644 --- a/lib94/warrior.cpp +++ b/lib94/warrior.cpp @@ -352,7 +352,7 @@ namespace lib94 { if (colon == std::string::npos) break; - std::string label = line.substr(0, colon); + std::string label = trim_spaces(line.substr(0, colon)); line = line.substr(colon + 1); if (!valid_label(label)) |