diff src/video/xbios/SDL_xbios_centscreen.c @ 1336:3692456e7b0f

Use SDL_ prefixed versions of C library functions. FIXME: Change #include <stdlib.h> to #include "SDL_stdlib.h" Change #include <string.h> to #include "SDL_string.h" Make sure nothing else broke because of this...
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 06:59:48 +0000
parents 1c9988e47824
children 604d73db6802
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios_centscreen.c	Mon Feb 06 17:28:04 2006 +0000
+++ b/src/video/xbios/SDL_xbios_centscreen.c	Tue Feb 07 06:59:48 2006 +0000
@@ -42,7 +42,7 @@
 
 	/* Reset current mode list */
 	if (XBIOS_modelist) {
-		free(XBIOS_modelist);
+		SDL_free(XBIOS_modelist);
 		XBIOS_nummodes = 0;
 		XBIOS_modelist = NULL;
 	}
@@ -65,7 +65,7 @@
 					);
 				}
 			}
-			memcpy(&curmode, &listedmode, sizeof(centscreen_mode_t));
+			SDL_memcpy(&curmode, &listedmode, sizeof(centscreen_mode_t));
 			curmode.mode = curmode.physx = curmode.physy = curmode.plan =
 				curmode.logx = curmode.logy = -1;
 			result = Vnext(&curmode, &listedmode);