X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=a49155c1000c0a47d8fa5dad3dfa5d3aaf493f55;hb=dc5af826f816b8b15fd01d674e66f1c7f1f87c99;hp=ebe010e23e1d169dd6f0c67a29b736a84bdb7fd8;hpb=6432014c48da91b241816d8d97c1ec76bee305c8;p=xboard.git diff --git a/backend.c b/backend.c index ebe010e..a49155c 100644 --- a/backend.c +++ b/backend.c @@ -14738,7 +14738,7 @@ char *GetInfoFromComment( int index, char * text ) while( *++sep >= '0' && *sep <= '9'); // strip seconds if(deci >= 0) while( *++sep >= '0' && *sep <= '9'); // strip fractional seconds - while(*sep == ' ') sep++; + while(*sep == ' ' || *sep == '\n' || *sep == '\r') sep++; } if( depth <= 0 ) {