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

Alexandre Julliard julliard at winehq.org
Tue Apr 29 13:36:12 CDT 2014


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Apr 28 20:01:45 2014 +0200

shell32: Use boolean return value in boolean function.

---

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

diff --git a/dlls/shell32/shellstring.c b/dlls/shell32/shellstring.c
index 6b511d2..9eb8536 100644
--- a/dlls/shell32/shellstring.c
+++ b/dlls/shell32/shellstring.c
@@ -183,7 +183,7 @@ static BOOL StrToOleStrNW (LPWSTR lpWide, INT nWide, LPCWSTR lpStrW, INT nStr)
 	if (lstrcpynW (lpWide, lpStrW, nWide))
 	{ return lstrlenW (lpWide);
 	}
-	return 0;
+	return FALSE;
 }
 
 BOOL WINAPI StrToOleStrNAW (LPWSTR lpWide, INT nWide, LPCVOID lpStr, INT nStr)




More information about the wine-cvs mailing list