projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix treatment of PGN score/depth info with linefeeds in them
[xboard.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index
ebe010e
..
a49155c
100644
(file)
--- 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 ) {