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

Summary: [patch] Fix possible typo in testoverlay2.c
Product: SDL Reporter: Martin Decky <martin>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   
Attachments: Proposed patch

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