int i, oldi;
int buf_len;
int next_out;
- int tkind;
+ int tkind;\r
+#ifdef WIN32\r
+ /* For zippy color lines of winboard\r
+ * cleanup for gcc compiler */\r
+ int backup;\r
+#endif
char *p;
#ifdef WIN32
oldi = i;
if (appData.zippyTalk || appData.zippyPlay) {
-#if ZIPPY
+#if ZIPPY\r
+ #ifdef WIN32\r
+ /* Backup adress for color zippy lines */\r
+ backup = i;\r
+ if (first.initDone && loggedOn == TRUE)\r
+ if (ZippyControl(buf, &backup) || ZippyConverse(buf, &backup) ||\r
+ (appData.zippyPlay && ZippyMatch(buf, &backup)));\r
+ #else
if (ZippyControl(buf, &i) ||
ZippyConverse(buf, &i) ||
(appData.zippyPlay && ZippyMatch(buf, &i))) {
loggedOn = TRUE;
continue;
- }
+ }\r
+ #endif
#endif
- } else {
+ }
if (/* Don't color "message" or "messages" output */
(tkind = 5, looking_at(buf, &i, "*. * (*:*): ")) ||
looking_at(buf, &i, "*. * at *:*: ") ||
curColor = ColorSeek;
}
continue;
- }
}
if (looking_at(buf, &i, "\\ ")) {