Module: wine Branch: master Commit: 129df098a27cd26100dc6c0a92b64d59e5a838b2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=129df098a27cd26100dc6c0a92...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Wed Oct 30 22:00:12 2013 +0100
opengl32: Use BOOL type where appropriate.
---
dlls/opengl32/wgl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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 ); }