There're two consecutive "0" lines in the DXF file. DoRead reads the first "0" and jumps into if(!strcmp(m_str, "0")), then reads the next line which is a "0" again. It jumps out of if(!strcmp(m_str, "0")) and reads the next line which is "POLYLINE". It doesn't do anything with POLYLINE because it is outside of if(!strcmp(m_str, "0"))
This is part of my example file. I'm not allowed to post the whole file. This file has two POLYLINE. SEQEND is the end of the previous POLYLINE.
0
SEQEND
5
1328E9
8
0
0
POLYLINE