X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=d4549bfb756aefeba157310b2f42e2ed06f2dd08;hb=e54045072f6e157b46a33104b8094cf9857f875d;hp=661476ce36adc0544e5b441b5d1a6d0f24d06750;hpb=0ccbe7c602352f55e143e4e533c3c2b7b773dda6;p=xboard.git diff --git a/backend.c b/backend.c index 661476c..d4549bf 100644 --- a/backend.c +++ b/backend.c @@ -2838,18 +2838,9 @@ read_from_ics(isr, closure, data, count, error) /* [DM] Backup address for color zippy lines */ backup = i; #if ZIPPY - #ifdef WIN32 if (loggedOn == TRUE) if (ZippyControl(buf, &backup) || ZippyConverse(buf, &backup) || (appData.zippyPlay && ZippyMatch(buf, &backup))); - #else - if (ZippyControl(buf, &i) || - ZippyConverse(buf, &i) || - (appData.zippyPlay && ZippyMatch(buf, &i))) { - loggedOn = TRUE; - if (!appData.colorize) continue; - } - #endif #endif } // [DM] 'else { ' deleted if ( @@ -4532,7 +4523,7 @@ SendMoveToProgram(moveNum, cps) /* Send 'go' if we are in a mode where machine should play. */ if( (moveNum == 0 && setboardSpoiledMachineBlack && cps == &first) && (gameMode == TwoMachinesPlay || -#ifdef ZIPPY +#if ZIPPY gameMode == IcsPlayingBlack || gameMode == IcsPlayingWhite || #endif gameMode == MachinePlaysBlack || gameMode == MachinePlaysWhite) ) { @@ -9329,7 +9320,6 @@ GameEnds(result, resultDetails, whosays) endingGame = 0; /* [HGM] crash */ return; } else { - char buf[MSG_SIZ]; gameMode = nextGameMode; sprintf(buf, _("Match %s vs. %s: final score %d-%d-%d"), first.tidy, second.tidy,