Andrew Nguyen : gdi32: Fix the type of a few return values.

Alexandre Julliard julliard at winehq.org
Thu Aug 6 10:49:20 CDT 2009


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

Author: Andrew Nguyen <arethusa26 at gmail.com>
Date:   Thu Aug  6 03:17:58 2009 -0500

gdi32: Fix the type of a few return values.

---

 dlls/gdi32/opengl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/opengl.c b/dlls/gdi32/opengl.c
index 022fc2c..204fc2b 100644
--- a/dlls/gdi32/opengl.c
+++ b/dlls/gdi32/opengl.c
@@ -168,7 +168,7 @@ static HDC WINAPI wglGetPbufferDCARB(void *pbuffer)
 
     TRACE("(%p)\n", pbuffer);
 
-    if (!dc) return FALSE;
+    if (!dc) return 0;
 
     /* The display driver has to do the rest of the work because
      * we need access to lowlevel datatypes which we can't access here
@@ -338,7 +338,7 @@ PROC WINAPI wglGetProcAddress(LPCSTR func)
 
     /* Retrieve the global hDC to get access to the driver.  */
     dc = OPENGL_GetDefaultDC();
-    if (!dc) return FALSE;
+    if (!dc) return NULL;
 
     if (!dc->funcs->pwglGetProcAddress) FIXME(" :stub\n");
     else ret = dc->funcs->pwglGetProcAddress(func);




More information about the wine-cvs mailing list