Snes9x - Trim data elements beginning with colons in bml. (#863)

This commit is contained in:
bladeoner 2019-06-25 21:03:45 +02:00 committed by dborth
parent 2200cc5c6e
commit 66969747f7

View File

@ -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);
}