Module: wine Branch: master Commit: 7a28ce245d4ca406d1db7507b781684229850ca2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a28ce245d4ca406d1db7507b7...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Sun Jan 12 10:44:32 2014 +0100
dplayx: Avoid TRUE:FALSE conditional expressions.
---
dlls/dplayx/dplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index 0d448a6..0314597 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -4634,7 +4634,7 @@ static HMODULE DP_LoadSP( LPCGUID lpcGuid, LPSPINITDATA lpSpData, LPBOOL lpbIsDp FILETIME filetime;
(i == 0) ? (searchSubKey = spSubKey ) : (searchSubKey = lpSubKey ); - *lpbIsDpSp = (i == 0) ? TRUE : FALSE; + *lpbIsDpSp = (i == 0);
/* Need to loop over the service providers in the registry */