changeset 5279:07559b6cb64f

changeset: 5278:b4b71ec2af73 tag: tip user: Martin Decky <martin@decky.cz> date: Sat Feb 12 22:27:14 2011 +0100 summary: fix typo (assigning height value into displayrect.w instead of displayrect.h)
author Sam Lantinga <slouken@libsdl.org>
date Sat, 12 Feb 2011 17:36:09 -0800
parents 151f40ed9e55
children bad04e4710f6
files test/testoverlay2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/testoverlay2.c	Sat Feb 12 12:04:23 2011 -0800
+++ b/test/testoverlay2.c	Sat Feb 12 17:36:09 2011 -0800
@@ -538,7 +538,7 @@
             case SDL_WINDOWEVENT:
                 if (event.window.event == SDL_WINDOWEVENT_RESIZED) {
                     displayrect.w = window_w = event.window.data1;
-                    displayrect.w = window_h = event.window.data2;
+                    displayrect.h = window_h = event.window.data2;
                 }
                 break;
             case SDL_MOUSEBUTTONDOWN: