winex11.drv: Fix comment for #endif.

Gerald Pfeifer gerald at pfeifer.com
Mon Sep 6 13:51:41 CDT 2010


Looking into this file and trying to understand the structure, I
noticed the following simple fix.

It's easier to see this by piping opengl.c through

  egrep ^# | egrep -v '#define|#undef|#else|#.*include'

which results in

  #ifdef HAVE_SYS_SOCKET_H
  #endif
  #ifdef HAVE_SYS_UN_H
  #endif
  #ifdef SONAME_LIBGL
  #ifdef HAVE_GL_GL_H
  #endif
  #ifdef HAVE_GL_GLX_H
  #endif
  #ifdef __i386__
  #endif
  #endif /* defined(HAVE_OPENGL) */

Gerald

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

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 3869619..1191332 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -4029,4 +4029,4 @@ XVisualInfo *visual_from_fbconfig_id( XID fbconfig_id )
     return NULL;
 }
 
-#endif /* defined(HAVE_OPENGL) */
+#endif /* defined(SONAME_LIBGL) */
-- 
1.7.2.2



More information about the wine-patches mailing list