dinput: Drop magic int.

This commit is contained in:
Christoph Frick 2006-12-20 12:28:58 +01:00 committed by Alexandre Julliard
parent b0eb9d0b89
commit e4a6562937
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ HRESULT create_DataFormat(LPCDIDATAFORMAT asked_format, DataFormat *format)
(/* Then check if it accepts any instance id, and if not, if it matches Wine's
* instance id.
*/
(DIDFT_GETINSTANCE(asked_format->rgodf[j].dwType) == 0xFFFF) ||
((asked_format->rgodf[j].dwType & DIDFT_INSTANCEMASK) == DIDFT_ANYINSTANCE) ||
(DIDFT_GETINSTANCE(asked_format->rgodf[j].dwType) == 0x00FF) || /* This is mentionned in no DX docs, but it works fine - tested on WinXP */
(DIDFT_GETINSTANCE(asked_format->rgodf[j].dwType) == DIDFT_GETINSTANCE(format->wine_df->rgodf[i].dwType)))
&&