[2/2] user32/edit.c: Change extra value for standard edit class to 6

Julius Schwartzenberg julius.schwartzenberg at gmail.com
Mon Oct 12 18:07:07 CDT 2009


This patch fixes bug #2181. Civilization II crashes when trying to 
display an edit box when this value is anything other than six. It 
crashes in exactly the same way on Windows XP 64-bit. The real bug is in 
the application which depends on very specific behavior which most 
Windows versions happen to have.

The patch changes the extra value of the standard edit class to 6 on 
32-bit like all 32-bit Windows versions have. When Wine is compiled with 
_WIN64 the value is 8 like on 64-bit Windows XP.

This is my first patch to Wine. Roderick kind of mentored me and I also 
got a lot of good help on IRC and on wine-devel! If there are still 
issues, please let me know, I will try to solve those.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-for-bug-2181.-Changes-the-extra-value-of-the-stan.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091013/0dcf4bcd/attachment.txt>


More information about the wine-patches mailing list