OSDN Git Service

* [shogi-server]
authorbeatles <beatles@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sun, 15 Feb 2009 14:37:18 +0000 (14:37 +0000)
committerbeatles <beatles@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sun, 15 Feb 2009 14:37:18 +0000 (14:37 +0000)
  - A duplicated comment that is the one of the previous (or older)
    move might be erroneously recorded in a csa file. This issue has
    been fixed. (Closes: #15080)

changelog
shogi_server/player.rb

index 2661d4c..c70e0bf 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,3 +1,10 @@
+2009-02-15 Daigo Moriwaki <daigo at debian dot org>
+
+       * [shogi-server]
+         - A duplicated comment that is the one of the previous (or older)
+           move might be erroneously recorded in a csa file. This issue has 
+           been fixed. (Closes: #15080)
+
 2009-02-11 Daigo Moriwaki <daigo at debian dot org>
 
        * [utils/csa-filter.rb]
index e9280de..5b5d7ea 100644 (file)
@@ -273,6 +273,7 @@ class Player < BasicPlayer
             array_str = str.split(",")
             move = array_str.shift
             additional = array_str.shift
+            comment = nil
             if /^'(.*)/ =~ additional
               comment = array_str.unshift("'*#{$1.toeuc}")
             end