From 8b27d2767c377404d4ef64380f125930e2b32d45 Mon Sep 17 00:00:00 2001 From: Andrew Riedi Date: Sat, 1 Dec 2007 13:31:56 -0800 Subject: [PATCH] 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; -- 1.4.4.2