Skip to content
Permalink
Browse files
Merged changeset 948:923323444178 from default branch: valgrind sorti…
…ng fix.
  • Loading branch information
icculus committed Feb 28, 2009
1 parent ab4e94c commit 42eb0768d5f1694badf4fa1ea2db6c0c43548c85
Showing with 2 additions and 1 deletion.
  1. +2 −1 physfs.c
@@ -214,7 +214,8 @@ static void __PHYSFS_quick_sort(void *a, PHYSFS_uint32 lo, PHYSFS_uint32 hi,
break;
swapfn(a, i, j);
} /* while */
swapfn(a, i, hi-1);
if (i != (hi-1))
swapfn(a, i, hi-1);
__PHYSFS_quick_sort(a, lo, j, cmpfn, swapfn);
__PHYSFS_quick_sort(a, i+1, hi, cmpfn, swapfn);
} /* else */

0 comments on commit 42eb076

Please sign in to comment.