Fix loading icon from resource

Maxime Bellengé maxime.bellenge at
Tue Apr 29 04:34:30 CDT 2003

Some icons were not loaded correctly sometimes. I found it came from the
fact we must use the wBitCount field of CURSORICONDIRENTRY instead of
the bColorCount. 
Actually, bColorCount is 0 if >=8bpp (see )

Now all the icon in the tabs are displayed correctly in emule :) (and in
many other apps I think).



   * Fix some indentation
   * Fix the loading of icon resources 
Maxime Bellengé <maxime.bellenge at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cursoricon.patch
Type: text/x-patch
Size: 1947 bytes
Desc: not available
Url :

More information about the wine-patches mailing list