hlink: Avoid a TRUE:FALSE conditional expression.

This commit is contained in:
Michael Stefaniuc 2012-08-13 11:44:12 +02:00 committed by Alexandre Julliard
parent b18bc659d6
commit 7c365e35ab
1 changed files with 1 additions and 1 deletions

View File

@ -797,7 +797,7 @@ static HRESULT WINAPI IPersistStream_fnLoad(IPersistStream* iface,
r = OleLoadFromStream(pStm, &IID_IMoniker, (LPVOID*)&(This->Moniker));
if (FAILED(r))
goto end;
This->absolute = hdr[1] & HLINK_SAVE_MONIKER_IS_ABSOLUTE ? TRUE : FALSE;
This->absolute = (hdr[1] & HLINK_SAVE_MONIKER_IS_ABSOLUTE) != 0;
}
if (hdr[1] & HLINK_SAVE_LOCATION_PRESENT)