[xiph-commits] r17762 - trunk/squishyball

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Dec 16 21:58:00 PST 2010


Author: xiphmont
Date: 2010-12-16 21:58:00 -0800 (Thu, 16 Dec 2010)
New Revision: 17762

Modified:
   trunk/squishyball/configure.ac
   trunk/squishyball/tty.c
Log:
Print '0' for sample 0, not ':'


Modified: trunk/squishyball/configure.ac
===================================================================
--- trunk/squishyball/configure.ac	2010-12-16 19:10:07 UTC (rev 17761)
+++ trunk/squishyball/configure.ac	2010-12-17 05:58:00 UTC (rev 17762)
@@ -4,7 +4,7 @@
 cflags_save="$CFLAGS"
 AC_PREREQ(2.57)
 AC_INIT(main.c)
-AM_INIT_AUTOMAKE(squishyball, 20101213, [vorbis-dev at xiph.org])
+AM_INIT_AUTOMAKE(squishyball, 20101217, [vorbis-dev at xiph.org])
 AC_CONFIG_FILES([Makefile])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
 

Modified: trunk/squishyball/tty.c
===================================================================
--- trunk/squishyball/tty.c	2010-12-16 19:10:07 UTC (rev 17761)
+++ trunk/squishyball/tty.c	2010-12-17 05:58:00 UTC (rev 17762)
@@ -643,7 +643,10 @@
         break;
       case 2: /* XXY*/
       case 3: /* Casual */
-        min_putchar(p_pl+'1');
+        if(p_pl<9)
+          min_putchar(p_pl+'1');
+        else
+          min_putchar('0');
         break;
       }
     }
@@ -667,7 +670,10 @@
         break;
       case 2: /* XXY*/
       case 3: /* Casual */
-        min_putchar(p_pl+'1');
+        if(p_pl<9)
+          min_putchar(p_pl+'1');
+        else
+          min_putchar('0');
         break;
       }
       min_putchar(' ');



More information about the commits mailing list