commit | cb2e4d3a3c59e5b6ef2fa0a404d5143fd86b4825 | [log] [tgz] |
---|---|---|
author | Juergen Schmied <juergen.schmied@metronet.de> | Sun Sep 19 18:56:40 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sun Sep 19 18:56:40 1999 +0000 |
tree | 9f33020e71c4cb21be006ea3cc0a075187b2b424 | |
parent | 2a722f498a8dffcea099de40bae405546f89daa4 [diff] [blame] |
Fixed crash when loading *.ani files.
diff --git a/objects/cursoricon.c b/objects/cursoricon.c index 6804506..03f5f45 100644 --- a/objects/cursoricon.c +++ b/objects/cursoricon.c
@@ -367,8 +367,8 @@ 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;