From: Eric Mullins Date: Sun, 11 Oct 2009 00:34:37 +0000 (-0600) Subject: Turned off wrap when possible on ICS servers. X-Git-Tag: v4.4.1.20091019~33 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=45f6f7e592a1e99a5dfa301e2ab8a52b39a4fd8a;p=xboard.git Turned off wrap when possible on ICS servers. Turning off line wrap prevents splitting lines up using the continuation sequence "\\ ". This is desirable when using timeseal because timeseal's buffer is sometimes too small, causing it to break lines itself. These lines can't be joined. --- diff --git a/backend.c b/backend.c index 2965507..6f17d9b 100644 --- a/backend.c +++ b/backend.c @@ -2214,6 +2214,7 @@ read_from_ics(isr, closure, data, count, error) sprintf(str, "/set-quietly interface %s\n/set-quietly style 12\n", programVersion); + strcat(str, "/set-quietly wrap 0\n"); } else if (ics_type == ICS_CHESSNET) { sprintf(str, "/style 12\n"); @@ -2224,10 +2225,11 @@ read_from_ics(isr, closure, data, count, error) #ifdef WIN32 strcat(str, "$iset nohighlight 1\n"); #endif + strcat(str, "$iset nowrap 1\n"); strcat(str, "$iset lock 1\n$style 12\n"); - NotifyFrontendLogin(); } SendToICS(str); + NotifyFrontendLogin(); intfSet = TRUE; }