From 66969747f77f07367d28bed0402c1e0c69a0132c Mon Sep 17 00:00:00 2001 From: bladeoner Date: Tue, 25 Jun 2019 21:03:45 +0200 Subject: [PATCH] Snes9x - Trim data elements beginning with colons in bml. (#863) --- source/snes9x/bml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/snes9x/bml.cpp b/source/snes9x/bml.cpp index 05aa88c..b31cac3 100644 --- a/source/snes9x/bml.cpp +++ b/source/snes9x/bml.cpp @@ -124,7 +124,7 @@ static void bml_parse_data(bml_node &node, std::string &line) len = 1; while (line[len] && !islf(line[len])) len++; - node.data = line.substr(1, len - 1); + node.data = trim(line.substr(1, len - 1)); line.erase(0, len); }