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

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

[elpa] 07/07: [gnugo int] Fix bug: Unbreak SGF file output.


From: Thien-Thi Nguyen
Subject: [elpa] 07/07: [gnugo int] Fix bug: Unbreak SGF file output.
Date: Wed, 09 Apr 2014 06:34:55 +0000

ttn pushed a commit to branch master
in repository elpa.

commit cc5eff1c061ac4a6a3c8baf129c5817337e9ee7e
Author: Thien-Thi Nguyen <address@hidden>
Date:   Wed Apr 9 07:42:18 2014 +0200

    [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’.
---
 packages/gnugo/gnugo.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index 6cc635e..951881a 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/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]