changeset: 5278:b4b71ec2af73
authorSam Lantinga <slouken@libsdl.org>
Sat, 12 Feb 2011 17:36:09 -0800
changeset 527407559b6cb64f
parent 5273 151f40ed9e55
child 5275 bad04e4710f6
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)
test/testoverlay2.c
     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: