fix ignoring commented-out lines in MSDs
(this caused empty note patterns when the entire pattern was commented out)
This commit is contained in:
@@ -72,11 +72,6 @@ void MsdFile::ReadBuf( char *buf, int len )
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!ReadingValue) {
|
||||
// fast forward until the next '#' (optimization)
|
||||
while(i < len && buf[i] != '#') i++;
|
||||
}
|
||||
|
||||
if(ReadingValue && buf[i] == '#') {
|
||||
/* Unfortunately, many of these files are missing ;'s.
|
||||
* If we get a # when we thought we were inside a value, assume we
|
||||
|
||||
Reference in New Issue
Block a user