Simplify dlls/comctl32/nativefont.c
Gerald Pfeifer
gerald at pfeifer.com
Sat Dec 27 14:05:11 CST 2008
On Sat, 27 Dec 2008, ricardo filipe wrote:
> are you sure windows doesn't call those functions with those parameters? you have to check that before sending patches like these ...
Yes, I am. Looking at the patch...
>> static LRESULT
>> -NATIVEFONT_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
>> +NATIVEFONT_Create (HWND hwnd)
...you'll notice that this function is static and thus cannot be
invoked by any external caller. I have explicitly excluded functions
with external linkage or callback functions from such simplifications.
Gerald
--
Gerald (Jerry) Pfeifer gerald at pfeifer.com http://www.pfeifer.com/gerald/
More information about the wine-devel
mailing list