gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] Patch for SGF trace output


From: SP LEE
Subject: [gnugo-devel] Patch for SGF trace output
Date: Fri, 17 Sep 2004 11:28:28 -0700

I had submitted a patch for SGF trace output in
http://lists.gnu.org/archive/html/gnugo-devel/2004-02/msg00025.html. It
seems that the patch has been applied incompletely in current CVS. So I
have made another minor patch below to complete the modification.


SP Lee

$ cvs diff -u board.c
Index: board.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/board.c,v
retrieving revision 1.101
diff -u -r1.101 board.c
--- board.c     15 Sep 2004 14:43:29 -0000      1.101
+++ board.c     17 Sep 2004 18:18:41 -0000
@@ -517,7 +517,7 @@
                    location_to_string(kom_pos));
       else
        gg_snprintf(buf, 100, "%s at %s (variation %d, hash %s)",
-                   message, location_to_string(str), count_variations,
+                   message, location_to_string(pos), count_variations,
                    hashdata_to_string(&board_hash));
     }
     sgftreeAddPlayLast(sgf_dumptree, color, I(pos), J(pos));








reply via email to

[Prev in Thread] Current Thread [Next in Thread]