=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: opengl32: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Tue Nov 19 13:28:35 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Nov 19 01:05:56 2013 +0100

opengl32: Use BOOL type where appropriate.

---

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

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index dc5282a..9255e34 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -1233,11 +1233,11 @@ static void (WINAPI *pgluTessVertex)(GLUtesselator *tess, GLdouble *location, GL
 static HMODULE load_libglu(void)
 {
     static const WCHAR glu32W[] = {'g','l','u','3','2','.','d','l','l',0};
-    static int already_loaded;
+    static BOOL already_loaded;
     static HMODULE module;
 
     if (already_loaded) return module;
-    already_loaded = 1;
+    already_loaded = TRUE;
 
     TRACE("Trying to load GLU library\n");
     module = LoadLibraryW( glu32W );




More information about the wine-cvs mailing list