diff src/video/photon/SDL_ph_modes.c @ 1338:604d73db6802

Removed uses of stdlib.h and string.h
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 09:29:18 +0000
parents 3692456e7b0f
children c71e05b4dc2e
line wrap: on
line diff
--- a/src/video/photon/SDL_ph_modes.c	Tue Feb 07 07:03:29 2006 +0000
+++ b/src/video/photon/SDL_ph_modes.c	Tue Feb 07 09:29:18 2006 +0000
@@ -173,7 +173,7 @@
         return -1;
     }
 
-    qsort(mode_list.modes, mode_list.num_modes, sizeof(unsigned short), compare_modes_by_res);
+    SDL_qsort(mode_list.modes, mode_list.num_modes, sizeof(unsigned short), compare_modes_by_res);
 
     for(i=0;i<mode_list.num_modes;i++)
     {