changeset 1206:aac47040c6d7

Patched to compile on gcc 2.95.3.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 19 Dec 2005 06:58:51 +0000
parents 2ab21d9a20da
children c9ec00d3e8bc
files src/video/x11/SDL_x11video.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c	Wed Dec 14 05:55:17 2005 +0000
+++ b/src/video/x11/SDL_x11video.c	Mon Dec 19 06:58:51 2005 +0000
@@ -265,6 +265,7 @@
 /* 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 @@
 		 FocusChangeMask | KeyPressMask | KeyReleaseMask
 		 | PropertyChangeMask | StructureNotifyMask | KeymapStateMask);
 
-    char * savedclassname = 0;
     /* Set the class hints so we can get an icon (AfterStep) */
     {
 	XClassHint *classhints;