Commit 9526c9da authored by Sam Lantinga's avatar Sam Lantinga

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)
parent bb1d3459
...@@ -538,7 +538,7 @@ main(int argc, char **argv) ...@@ -538,7 +538,7 @@ main(int argc, char **argv)
case SDL_WINDOWEVENT: case SDL_WINDOWEVENT:
if (event.window.event == SDL_WINDOWEVENT_RESIZED) { if (event.window.event == SDL_WINDOWEVENT_RESIZED) {
displayrect.w = window_w = event.window.data1; displayrect.w = window_w = event.window.data1;
displayrect.w = window_h = event.window.data2; displayrect.h = window_h = event.window.data2;
} }
break; break;
case SDL_MOUSEBUTTONDOWN: case SDL_MOUSEBUTTONDOWN:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment