]> git.sesse.net Git - vlc/commitdiff
Woops.
authorAntoine Cellerier <dionoea@videolan.org>
Fri, 10 Nov 2006 23:58:17 +0000 (23:58 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Fri, 10 Nov 2006 23:58:17 +0000 (23:58 +0000)
modules/video_filter/puzzle.c

index 8366b127108845f90154e603910408e8b3cffa6f..bc88c1de57c87a2cf284ecbd7c4d2891cf1ae797 100644 (file)
@@ -147,7 +147,7 @@ static void shuffle( vout_sys_t *p_sys )
         for( i = 0; i < p_sys->i_cols * p_sys->i_rows; i++ )
         {
             if( p_sys->pi_order[i] ==
-                ( p_sys->i_cols - 1 ) * p_sys->i_rows + 1 )
+                ( p_sys->i_cols - 1 ) * p_sys->i_rows )
             {
                 p_sys->i_selected = i;
                 break;