bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] Small problem in text.c + fix


From: Philippe Michel
Subject: [Bug-gnubg] Small problem in text.c + fix
Date: Sun, 4 Nov 2007 20:44:10 +0100 (CET)

A recent change broke plain text export, with blank lines missing at the beginning of each move :

[...]
5. Cubeful 2-ply 8/4 6/5 Eq.: +0.043 ( -0.075)
       0.522 0.150 0.005 - 0.478 0.142 0.009


Move number 4: gnubg to play 64 GNU Backgammon Position ID: sHPkASHg8+ABJA
                 Match ID   : MAEzAAAAAAAA
 +12-11-10--9--8--7-------6--5--4--3--2--1-+     O: gnubg
 | X           O    |   | O  X           X |     0 points
 | X           O    |   | O                |     Rolled 64
 | X           O    |   | O                |
[...]


The appended patch returns to the former layout.

*** text.c.orig Sun Nov  4 17:22:31 2007
--- text.c      Sun Nov  4 20:12:30 2007
***************
*** 169,175 ****
      /* chequer play decision */

      g_string_append_printf(gsz,
!               _(" %s to play %d%d"),
                ap[ pms->fMove ].szName,
                pms->anDice[ 0 ], pms->anDice[ 1 ]
              );
--- 169,175 ----
      /* chequer play decision */

      g_string_append_printf(gsz,
!               _(" %s to play %d%d\n\n"),
                ap[ pms->fMove ].szName,
                pms->anDice[ 0 ], pms->anDice[ 1 ]
              );







reply via email to

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