Andrew Riedi : user32: Add a FIXME for animated cursors.
Alexandre Julliard
julliard at winehq.org
Mon Dec 3 09:17:47 CST 2007
Module: wine
Branch: master
Commit: 3d08d32a426b9fc22899c86599df52da99c41eac
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3d08d32a426b9fc22899c86599df52da99c41eac
Author: Andrew Riedi <andrewriedi at gmail.com>
Date: Sat Dec 1 13:31:56 2007 -0800
user32: Add a FIXME for animated cursors.
---
dlls/user32/cursoricon.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c
index 8a2a005..7c197ed 100644
--- a/dlls/user32/cursoricon.c
+++ b/dlls/user32/cursoricon.c
@@ -39,8 +39,6 @@
* the X client instead of in the server like other bitmaps; however,
* some programs (notably Paint Brush) expect to be able to manipulate
* the bits directly :-(
- *
- * FIXME: what are we going to do with animation and color (bpp > 1) cursors ?!
*/
#include "config.h"
@@ -901,6 +899,13 @@ static HICON CURSORICON_LoadFromFile( LPCWSTR filename,
if (!bits)
return hIcon;
+ /* Check for .ani. */
+ if (memcmp( bits, "RIFF", 4 ) == 0)
+ {
+ FIXME("No support for .ani cursors.\n");
+ goto end;
+ }
+
dir = (CURSORICONFILEDIR*) bits;
if ( filesize < sizeof(*dir) )
goto end;
More information about the wine-cvs
mailing list