Jan Zerebecki : opengl32: Remove redundant const.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jan 25 06:12:15 CST 2007


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

Author: Jan Zerebecki <jan.wine at zerebecki.de>
Date:   Wed Jan 24 19:31:56 2007 +0100

opengl32: Remove redundant const.

---

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

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 32e7c12..b2c3cc5 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -195,7 +195,7 @@ static BOOL is_extension_supported(const
     if(strncmp(extension, "GL_VERSION_", 11) == 0)
     {
         const GLubyte *gl_version = glGetString(GL_VERSION);
-        const const char *version = extension + 11; /* Move past 'GL_VERSION_' */
+        const char *version = extension + 11; /* Move past 'GL_VERSION_' */
 
         if(!gl_version) {
             ERR("Error no OpenGL version found,\n");




More information about the wine-cvs mailing list