projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
removing empty lines from ICS play
[xboard.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index
f1d3eb4
..
9712e8f
100755
(executable)
--- 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;
}