Fixed typo in stretch render code. SDL-1.3
authorSam Lantinga <slouken@libsdl.org>
Fri, 07 Jul 2006 10:39:02 +0000
branchSDL-1.3
changeset 1728 b1ee090d194f
parent 1727 90a3e0fccb88
child 1729 0ef52d56e8bb
Fixed typo in stretch render code.
src/video/win32/SDL_dibrender.c
--- a/src/video/win32/SDL_dibrender.c	Fri Jul 07 10:29:16 2006 +0000
+++ b/src/video/win32/SDL_dibrender.c	Fri Jul 07 10:39:02 2006 +0000
@@ -564,7 +564,7 @@
         } else {
             if (!StretchBlt
                 (data->current_hdc, dstrect->x, dstrect->y, dstrect->w,
-                 srcrect->h, data->memory_hdc, srcrect->x, srcrect->y,
+                 dstrect->h, data->memory_hdc, srcrect->x, srcrect->y,
                  srcrect->w, srcrect->h, SRCCOPY)) {
                 WIN_SetError("StretchBlt()");
                 return -1;