fix ignoring commented-out lines in MSDs

(this caused empty note patterns when the entire pattern was
commented out)
This commit is contained in:
Glenn Maynard
2003-02-01 01:47:52 +00:00
parent 6f445f700f
commit 450ec7b6f2
-5
View File
@@ -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