Don't skip whitespace when reading filename

https://stackoverflow.com/a/6774866
This commit is contained in:
TwistedUmbrella 2018-04-02 03:51:38 -04:00
parent c832df6d62
commit fb418d568c
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ Disc* load_gdi(const char* file)
if (last == '"')
{
for(;;) {
gdi >> last;
gdi >> std::noskipws >> last;
if (last == '"')
break;
track_filename += last;
@ -118,4 +118,4 @@ Disc* gdi_parse(const char* file)
void iso_term()
{
}
}