Andrew Riedi : user32: winex11.drv has support for color cursors now.

Alexandre Julliard julliard at winehq.org
Thu Feb 7 07:59:27 CST 2008


Module: wine
Branch: master
Commit: 58d2e3df390b2aec2021a7b09db915e021e7d1e3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=58d2e3df390b2aec2021a7b09db915e021e7d1e3

Author: Andrew Riedi <andrewriedi at gmail.com>
Date:   Thu Feb  7 01:31:51 2008 -0800

user32: winex11.drv has support for color cursors now.

---

 dlls/user32/cursoricon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c
index 88fdd65..0ec5b32 100644
--- a/dlls/user32/cursoricon.c
+++ b/dlls/user32/cursoricon.c
@@ -914,7 +914,7 @@ static HICON CURSORICON_LoadFromFile( LPCWSTR filename,
         goto end;
 
     if ( fCursor )
-        entry = CURSORICON_FindBestCursorFile( dir, width, height, 1 );
+        entry = CURSORICON_FindBestCursorFile( dir, width, height, colors );
     else
         entry = CURSORICON_FindBestIconFile( dir, width, height, colors );
 




More information about the wine-cvs mailing list