dmscript: Replaced && 0xff by & 0xff.

This commit is contained in:
Marcus Meissner 2006-11-09 15:42:46 +01:00 committed by Alexandre Julliard
parent af30447348
commit 7c0de330f9
1 changed files with 2 additions and 2 deletions

View File

@ -647,8 +647,8 @@ const char *debugstr_fourcc (DWORD fourcc) {
const char *debugstr_dmversion (LPDMUS_VERSION version) { const char *debugstr_dmversion (LPDMUS_VERSION version) {
if (!version) return "'null'"; if (!version) return "'null'";
return wine_dbg_sprintf ("\'%i,%i,%i,%i\'", return wine_dbg_sprintf ("\'%i,%i,%i,%i\'",
(int)((version->dwVersionMS && 0xFFFF0000) >> 8), (int)(version->dwVersionMS && 0x0000FFFF), (int)((version->dwVersionMS & 0xFFFF0000) >> 8), (int)(version->dwVersionMS & 0x0000FFFF),
(int)((version->dwVersionLS && 0xFFFF0000) >> 8), (int)(version->dwVersionLS && 0x0000FFFF)); (int)((version->dwVersionLS & 0xFFFF0000) >> 8), (int)(version->dwVersionLS & 0x0000FFFF));
} }
/* returns name of given GUID */ /* returns name of given GUID */