mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-23 19:19:22 +01:00
Snes9x - Trim data elements beginning with colons in bml. (#863)
This commit is contained in:
parent
2200cc5c6e
commit
66969747f7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user