[xiph-commits] r18879 - trunk/squishyball

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Wed Mar 13 00:19:43 PDT 2013


Author: xiphmont
Date: 2013-03-13 00:19:43 -0700 (Wed, 13 Mar 2013)
New Revision: 18879

Modified:
   trunk/squishyball/main.c
Log:
startpos bound checking change to main.c got missed due to emacs asking for save confirmation three times and I only said 'yes, damnit' twice. No wonder RMS has carpal tunnel. :-P


Modified: trunk/squishyball/main.c
===================================================================
--- trunk/squishyball/main.c	2013-03-12 20:07:14 UTC (rev 18878)
+++ trunk/squishyball/main.c	2013-03-13 07:19:43 UTC (rev 18879)
@@ -664,7 +664,7 @@
       exit(5);
     }
     if(start_pos<0)start_pos=0;
-    if(start_pos>size-fragsize)start_pos=size-fragsize;
+    if(start_pos>size-fragsize*3)start_pos=size-fragsize*3;
     if(end_pos<fragsize)end_pos=fragsize;
     if(end_pos>size)end_pos=size;
     current_pos=start_pos;



More information about the commits mailing list