From 94dbac076a609b343f222ebbe0d8f674c1f56c64 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 19 Dec 2005 06:58:51 +0000 Subject: [PATCH] Patched to compile on gcc 2.95.3. --- src/video/x11/SDL_x11video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11video.c b/src/video/x11/SDL_x11video.c index af8d1f2cc..888b50b0a 100644 --- a/src/video/x11/SDL_x11video.c +++ b/src/video/x11/SDL_x11video.c @@ -265,6 +265,7 @@ static int xio_errhandler(Display *d) /* Create auxiliary (toplevel) windows with the current visual */ static void create_aux_windows(_THIS) { + char * savedclassname = NULL; XSetWindowAttributes xattr; XWMHints *hints; XTextProperty titleprop, iconprop; @@ -349,7 +350,6 @@ static void create_aux_windows(_THIS) FocusChangeMask | KeyPressMask | KeyReleaseMask | PropertyChangeMask | StructureNotifyMask | KeymapStateMask); - char * savedclassname = 0; /* Set the class hints so we can get an icon (AfterStep) */ { XClassHint *classhints;