Fixed crash when loading *.ani files.

This commit is contained in:
Juergen Schmied 1999-09-19 18:56:40 +00:00 committed by Alexandre Julliard
parent 2a722f498a
commit cb2e4d3a3c
1 changed files with 2 additions and 2 deletions

View File

@ -367,8 +367,8 @@ BOOL CURSORICON_SimulateLoadingFromResourceW( LPWSTR filename, BOOL fCursor,
if ( !*(LPWORD) pos==0x2fe) /* iconsize */
{ goto fail;
}
bits+=2;
FIXME_(cursor)("icon size ok %p \n", bits);
bits=(CURSORICONFILEDIR*)(pos+4);
FIXME_(cursor)("icon size ok. offset=%p \n", bits);
break;
}
pos+=2;