http://bugs.winehq.org/show_bug.cgi?id=31315
Bug #: 31315 Summary: PATCH:size optimization for gdi32/font.c testcase Product: Wine Version: unspecified Platform: x86 OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: testcases AssignedTo: wine-bugs@winehq.org ReportedBy: swight1423@gmail.com Classification: Unclassified
Created attachment 41150 --> http://bugs.winehq.org/attachment.cgi?id=41150 patch for gdi32/font.c
This is patch was for ReactOS trunk revision 56964 and I was redirected to post the bug here. Sorry that I don't know what Wine revision they are on. The file in question is in the link below: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/gdi32/font.c?rev....
Basically it is to reduce a bit of the redundant code in that file. Managed to trim off about 77 lines of code.
Please make sure to review the code before applying as C/C++ is not my native programming language and I do not have a proper development environment set up for ReactOS development yet so this is untested. Lastly I don't have the software handy for a diff so I posted the whole file.