opengl32: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Wed Oct 30 16:00:12 CDT 2013


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

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 361a1ec..1a9b1b4 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -588,7 +588,7 @@ INT WINAPI wglGetPixelFormat(HDC hdc)
 BOOL WINAPI wglSetPixelFormat( HDC hdc, INT format, const PIXELFORMATDESCRIPTOR *descr )
 {
     struct opengl_funcs *funcs = get_dc_funcs( hdc );
-    if (!funcs) return 0;
+    if (!funcs) return FALSE;
     return funcs->wgl.p_wglSetPixelFormat( hdc, format, descr );
 }
 
-- 
1.8.4.1




More information about the wine-patches mailing list