Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
changeset: 5278:b4b71ec2af73
Browse files Browse the repository at this point in the history
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 156d133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testoverlay2.c
Expand Up @@ -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:
Expand Down

0 comments on commit 156d133

Please sign in to comment.