Commit 3d08d32a authored by Andrew Riedi's avatar Andrew Riedi Committed by Alexandre Julliard

user32: Add a FIXME for animated cursors.

parent 0e568af8
...@@ -39,8 +39,6 @@ ...@@ -39,8 +39,6 @@
* the X client instead of in the server like other bitmaps; however, * the X client instead of in the server like other bitmaps; however,
* some programs (notably Paint Brush) expect to be able to manipulate * some programs (notably Paint Brush) expect to be able to manipulate
* the bits directly :-( * the bits directly :-(
*
* FIXME: what are we going to do with animation and color (bpp > 1) cursors ?!
*/ */
#include "config.h" #include "config.h"
...@@ -901,6 +899,13 @@ static HICON CURSORICON_LoadFromFile( LPCWSTR filename, ...@@ -901,6 +899,13 @@ static HICON CURSORICON_LoadFromFile( LPCWSTR filename,
if (!bits) if (!bits)
return hIcon; return hIcon;
/* Check for .ani. */
if (memcmp( bits, "RIFF", 4 ) == 0)
{
FIXME("No support for .ani cursors.\n");
goto end;
}
dir = (CURSORICONFILEDIR*) bits; dir = (CURSORICONFILEDIR*) bits;
if ( filesize < sizeof(*dir) ) if ( filesize < sizeof(*dir) )
goto end; goto end;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment