# HG changeset patch # User Sam Lantinga # Date 1152268742 0 # Node ID b1ee090d194f87c2b74a65b012258617ce3588d1 # Parent 90a3e0fccb88f4bde44c96dd4c0e79a139a9365e Fixed typo in stretch render code. diff -r 90a3e0fccb88 -r b1ee090d194f 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;