=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: winemac.drv: Constify a character string.

Alexandre Julliard julliard at winehq.org
Thu Dec 19 12:43:26 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Wed Dec 18 23:14:14 2013 +0100

winemac.drv: Constify a character string.

---

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

diff --git a/dlls/winemac.drv/opengl.c b/dlls/winemac.drv/opengl.c
index 4766bd4..ad520fa 100644
--- a/dlls/winemac.drv/opengl.c
+++ b/dlls/winemac.drv/opengl.c
@@ -1192,7 +1192,7 @@ static const pixel_format *get_pixel_format(int format, BOOL allow_nondisplayabl
 
 static BOOL init_gl_info(void)
 {
-    static char legacy_extensions[] = " WGL_EXT_extensions_string";
+    static const char legacy_extensions[] = " WGL_EXT_extensions_string";
     static const char legacy_ext_swap_control[] = " WGL_EXT_swap_control";
 
     CGDirectDisplayID display = CGMainDisplayID();




More information about the wine-cvs mailing list