From 75f9467bc2927d02e024315dd73f26305ee4623c Mon Sep 17 00:00:00 2001 From: Andrew Riedi Date: Sat, 1 Dec 2007 13:20:30 -0800 Subject: [PATCH] user32: Add a FIXME for animated cursors. --- dlls/user32/cursoricon.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c index 8a2a005..caa56be 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,14 @@ 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"); + hIcon = NULL; + goto end; + } + dir = (CURSORICONFILEDIR*) bits; if ( filesize < sizeof(*dir) ) goto end; -- 1.4.4.2