[xiph-commits] r17754 - trunk/squishyball

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Mon Dec 13 17:53:20 PST 2010


Author: xiphmont
Date: 2010-12-13 17:53:19 -0800 (Mon, 13 Dec 2010)
New Revision: 17754

Modified:
   trunk/squishyball/configure.ac
   trunk/squishyball/main.c
Log:
Correct idiot bug that caused '0' to segfault.


Modified: trunk/squishyball/configure.ac
===================================================================
--- trunk/squishyball/configure.ac	2010-12-13 18:38:40 UTC (rev 17753)
+++ trunk/squishyball/configure.ac	2010-12-14 01:53:19 UTC (rev 17754)
@@ -4,7 +4,7 @@
 cflags_save="$CFLAGS"
 AC_PREREQ(2.57)
 AC_INIT(main.c)
-AM_INIT_AUTOMAKE(squishyball, 20101208, [vorbis-dev at xiph.org])
+AM_INIT_AUTOMAKE(squishyball, 20101213, [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/main.c
===================================================================
--- trunk/squishyball/main.c	2010-12-13 18:38:40 UTC (rev 17753)
+++ trunk/squishyball/main.c	2010-12-14 01:53:19 UTC (rev 17754)
@@ -704,7 +704,12 @@
           flip_to = current_choice;
           do_select=1;
           break;
-        case '0': case '9': case '8': case '7': case '6':
+        case '0':
+          flip_to=9;
+          do_flip=1;
+          break;
+          break;
+        case '9': case '8': case '7': case '6':
         case '5': case '4': case '3': case '2': case '1':
           flip_to=c-'1';
           do_flip=1;



More information about the commits mailing list