From 7c365e35abe511ece54a0963251afcb6648e8af1 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 13 Aug 2012 11:44:12 +0200 Subject: [PATCH] hlink: Avoid a TRUE:FALSE conditional expression. --- dlls/hlink/link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/hlink/link.c b/dlls/hlink/link.c index 72e792be035..97164eb3162 100644 --- a/dlls/hlink/link.c +++ b/dlls/hlink/link.c @@ -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)