summaryrefslogtreecommitdiff
blob: 364f69d02f5d60a9f955981aebfabf6ea5f32eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/video/SDL_blit.c
+++ b/src/video/SDL_blit.c
@@ -214,7 +214,7 @@
 	dstskip = w+info->d_skip;
 	if ( dst < src ) {
 		while ( h-- ) {
-			SDL_memcpy(dst, src, w);
+			SDL_memmove(dst, src, w);
 			src += srcskip;
 			dst += dstskip;
 		}