[xiph-commits] r17677 - trunk/squishyball

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Sun Nov 28 18:22:39 PST 2010


Author: xiphmont
Date: 2010-11-28 18:22:39 -0800 (Sun, 28 Nov 2010)
New Revision: 17677

Modified:
   trunk/squishyball/tty.c
Log:
print 'PLAYING X' not 'PLAYING C'


Modified: trunk/squishyball/tty.c
===================================================================
--- trunk/squishyball/tty.c	2010-11-29 02:16:15 UTC (rev 17676)
+++ trunk/squishyball/tty.c	2010-11-29 02:22:39 UTC (rev 17677)
@@ -504,7 +504,17 @@
       switch(p_tm){
       case 0: /* AB */
       case 1: /* ABX */
-        min_putchar(p_pl+'A');
+        switch(p_pl){
+        case 0:
+          min_putchar('A');
+          break;
+        case 1:
+          min_putchar('B');
+          break;
+        case 2:
+          min_putchar('X');
+          break;
+        }
         break;
       case 2: /* XXY*/
       case 3: /* Casual */



More information about the commits mailing list