X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=9f6af34edc82d710a34ea306655a468696f9d5d2;hb=365074491242f8c2ddb6cdd387908c20419a6b4a;hp=f1d3eb474ef1d9ec7fa9d3a2fe5c67f0b9550f06;hpb=e5d5c4beada63f016fdeb1f32a1937e1a71ff89b;p=xboard.git diff --git a/backend.c b/backend.c index f1d3eb4..9f6af34 100755 --- a/backend.c +++ b/backend.c @@ -3260,6 +3260,7 @@ read_from_ics(isr, closure, data, count, error) /* Usually suppress following prompt */ if (!(forwardMostMove == 0 && gameMode == IcsExamining)) { + while(looking_at(buf, &i, "\n")); // [HGM] skip empty lines if (looking_at(buf, &i, "*% ")) { savingComment = FALSE; } @@ -5673,6 +5674,7 @@ void LeftClick(ClickType clickType, int xPix, int yPix) if(x >= 0 && x < BOARD_LEFT || x >= BOARD_RGHT) { ClearHighlights(); fromX = fromY = -1; + DrawPosition(TRUE, NULL); return; }