X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=f28d863fe4888d1e8d5f56b4440fb46933b85d27;hb=6cf84916e6bd3c60075dd7ce351a04e93d417136;hp=b9e1df5d50fdd625774cf266aee4b736100e3d93;hpb=e16eb360b53a04b78df666bde8fb42bdf92a4ec7;p=xboard.git diff --git a/backend.c b/backend.c index b9e1df5..f28d863 100644 --- a/backend.c +++ b/backend.c @@ -1455,6 +1455,16 @@ read_from_ics(isr, closure, data, count, error) int tkind; char *p; +#ifdef WIN32 + if (appData.debugMode) { + if (!error) { + fprintf(debugFP, " 0) { /* If last read ended with a partial line that we couldn't parse, prepend it to the new read and try again. */