user: Fixed copy/paste bug in CURSORICON_GetResIconEntry.

This commit is contained in:
Alexandre Julliard 2005-12-05 20:41:24 +01:00
parent 72caaad6cc
commit ef4dfd4b7a
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ static BOOL CURSORICON_GetResIconEntry( LPVOID dir, int n,
return FALSE; return FALSE;
icon = &resdir->idEntries[n].ResInfo.icon; icon = &resdir->idEntries[n].ResInfo.icon;
*width = icon->bWidth; *width = icon->bWidth;
*height = icon->bWidth; *height = icon->bHeight;
*bits = resdir->idEntries[n].wBitCount; *bits = resdir->idEntries[n].wBitCount;
return TRUE; return TRUE;
} }