Commit 63908f03 authored by Andrew Riedi's avatar Andrew Riedi Committed by Alexandre Julliard

user32: The frames of .ani cursors are .ico's, not .cur's.

parent 506f77b8
...@@ -1008,7 +1008,7 @@ static HCURSOR CURSORICON_CreateIconFromANI( const LPBYTE bits, DWORD bits_size, ...@@ -1008,7 +1008,7 @@ static HCURSOR CURSORICON_CreateIconFromANI( const LPBYTE bits, DWORD bits_size,
FIXME("Loading all frames for .ani cursors not implemented.\n"); FIXME("Loading all frames for .ani cursors not implemented.\n");
icon_data = fram_chunk.data + (2 * sizeof(DWORD)); icon_data = fram_chunk.data + (2 * sizeof(DWORD));
entry = CURSORICON_FindBestCursorFile( (CURSORICONFILEDIR *) icon_data, entry = CURSORICON_FindBestIconFile( (CURSORICONFILEDIR *) icon_data,
width, height, colors ); width, height, colors );
frame_bits = HeapAlloc( GetProcessHeap(), 0, entry->dwDIBSize ); frame_bits = HeapAlloc( GetProcessHeap(), 0, entry->dwDIBSize );
......
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