=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: msi: Use boolean return value in boolean function.

Alexandre Julliard julliard at winehq.org
Tue Feb 4 13:55:05 CST 2014


Module: wine
Branch: master
Commit: 3c1ca4e548a5249060515fda9e241f4643fedc3b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3c1ca4e548a5249060515fda9e241f4643fedc3b

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jan 29 22:28:29 2014 +0100

msi: Use boolean return value in boolean function.

---

 dlls/msi/record.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msi/record.c b/dlls/msi/record.c
index 3c1cf00..88d94a9 100644
--- a/dlls/msi/record.c
+++ b/dlls/msi/record.c
@@ -378,7 +378,7 @@ BOOL WINAPI MsiRecordIsNull( MSIHANDLE handle, UINT iField )
 
     rec = msihandle2msiinfo( handle, MSIHANDLETYPE_RECORD );
     if( !rec )
-        return 0;
+        return FALSE;
     msiobj_lock( &rec->hdr );
     ret = MSI_RecordIsNull( rec, iField );
     msiobj_unlock( &rec->hdr );




More information about the wine-cvs mailing list