test/testoverlay2.c
changeset 5274 07559b6cb64f
parent 5264 7ace5f8f432f
child 5357 ea8fec220775
--- 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: