We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1118 - [patch] Fix possible typo in testoverlay2.c
Summary: [patch] Fix possible typo in testoverlay2.c
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-12 13:31 UTC by Martin Decky
Modified: 2011-02-12 17:36 UTC (History)
0 users

See Also:


Attachments
Proposed patch (811 bytes, patch)
2011-02-12 13:31 UTC, Martin Decky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Decky 2011-02-12 13:31:37 UTC
Created attachment 568 [details]
Proposed patch

The value of event.window.data2 (representing window height for SDL_WINDOWEVENT_RESIZED) is assigned to displayrect.w. This is very likely a typo and the correct member should be displayrect.h. A patch is attached.
Comment 1 Sam Lantinga 2011-02-12 17:36:41 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/07559b6cb64f