winemac.drv: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Tue Oct 8 17:06:13 CDT 2013


---
 dlls/winemac.drv/opengl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winemac.drv/opengl.c b/dlls/winemac.drv/opengl.c
index 4749b44..1ae2744 100644
--- a/dlls/winemac.drv/opengl.c
+++ b/dlls/winemac.drv/opengl.c
@@ -3048,12 +3048,12 @@ static void load_extensions(void)
 
 static BOOL init_opengl(void)
 {
-    static int init_done;
+    static BOOL init_done = FALSE;
     unsigned int i;
     char buffer[200];
 
     if (init_done) return (opengl_handle != NULL);
-    init_done = 1;
+    init_done = TRUE;
 
     TRACE("()\n");
 
-- 
1.8.4




More information about the wine-patches mailing list