Let tellothers command add comment to PGN in local mode
[xboard.git] / backend.c
index 57155b3..f608f60 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -8465,7 +8465,7 @@ if(appData.debugMode) fprintf(debugFP, "nodes = %d, %lld\n", (int) programStats.
          snprintf(buf1, sizeof(buf1), "%swhisper %s\n", ics_prefix, message + 11);
          SendToICS(buf1);
        }
-      }
+      } else if(appData.autoComment) AppendComment (forwardMostMove, message + 11, 1); // in local mode, add as move comment
       return;
     }
     if (!strncmp(message, "tellall ", 8)) {