test/testoverlay2.c
changeset 5274 07559b6cb64f
parent 5264 7ace5f8f432f
child 5357 ea8fec220775
     1.1 --- a/test/testoverlay2.c	Sat Feb 12 12:04:23 2011 -0800
     1.2 +++ b/test/testoverlay2.c	Sat Feb 12 17:36:09 2011 -0800
     1.3 @@ -538,7 +538,7 @@
     1.4              case SDL_WINDOWEVENT:
     1.5                  if (event.window.event == SDL_WINDOWEVENT_RESIZED) {
     1.6                      displayrect.w = window_w = event.window.data1;
     1.7 -                    displayrect.w = window_h = event.window.data2;
     1.8 +                    displayrect.h = window_h = event.window.data2;
     1.9                  }
    1.10                  break;
    1.11              case SDL_MOUSEBUTTONDOWN: