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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!ReadingValue) {
|
|
||||||
// fast forward until the next '#' (optimization)
|
|
||||||
while(i < len && buf[i] != '#') i++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(ReadingValue && buf[i] == '#') {
|
if(ReadingValue && buf[i] == '#') {
|
||||||
/* Unfortunately, many of these files are missing ;'s.
|
/* Unfortunately, many of these files are missing ;'s.
|
||||||
* If we get a # when we thought we were inside a value, assume we
|
* If we get a # when we thought we were inside a value, assume we
|
||||||
|
|||||||
Reference in New Issue
Block a user