Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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)
  • Loading branch information
slouken committed Feb 13, 2011
1 parent d3c73a1 commit 156d133d7b883bd6418482ea7347c26516cd76c0
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/testoverlay2.c
@@ -538,7 +538,7 @@ main(int argc, char **argv)
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:

0 comments on commit 156d133

Please sign in to comment.