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

Alexandre Julliard julliard at winehq.org
Wed Oct 9 14:22:13 CDT 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Wed Oct  9 00:06:13 2013 +0200

winemac.drv: Use BOOL type where appropriate.

---

 dlls/winemac.drv/opengl.c |    4 ++--
 1 files 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");
 




More information about the wine-cvs mailing list