emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/gnugo 4680536 143/357: [gnugo int] Fix bug: Unbreak SGF


From: Stefan Monnier
Subject: [elpa] externals/gnugo 4680536 143/357: [gnugo int] Fix bug: Unbreak SGF file output.
Date: Sun, 29 Nov 2020 14:51:08 -0500 (EST)

branch: externals/gnugo
commit 468053609f165ae192f81102baf865d32f703d89
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>

    [gnugo int] Fix bug: Unbreak SGF file output.
    
    Omission from / regression introduced 2014-04-05,
    "Expand gametree IR: MNUM, KIDS, ROOT", sigh.
    
    * packages/gnugo/gnugo.el (gnugo/sgf-hang-from-root):
    Use ‘gnugo--tree-ends’.
---
 gnugo.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnugo.el b/gnugo.el
index 6cc635e..951881a 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -2692,7 +2692,7 @@ A collection is a list of gametrees, each a vector of 
four elements:
 
 (defun gnugo/sgf-hang-from-root (tree)
   (let ((ht (gnugo--mkht))
-        (leaves (append tree nil)))
+        (leaves (append (gnugo--tree-ends tree) nil)))
     (cl-flet
         ((hang (stack)
                (loop



reply via email to

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