Patched to compile on gcc 2.95.3.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 19 Dec 2005 06:58:51 +0000
changeset 1206aac47040c6d7
parent 1205 2ab21d9a20da
child 1207 c9ec00d3e8bc
Patched to compile on gcc 2.95.3.
src/video/x11/SDL_x11video.c
     1.1 --- a/src/video/x11/SDL_x11video.c	Wed Dec 14 05:55:17 2005 +0000
     1.2 +++ b/src/video/x11/SDL_x11video.c	Mon Dec 19 06:58:51 2005 +0000
     1.3 @@ -265,6 +265,7 @@
     1.4  /* Create auxiliary (toplevel) windows with the current visual */
     1.5  static void create_aux_windows(_THIS)
     1.6  {
     1.7 +    char * savedclassname = NULL;
     1.8      XSetWindowAttributes xattr;
     1.9      XWMHints *hints;
    1.10      XTextProperty titleprop, iconprop;
    1.11 @@ -349,7 +350,6 @@
    1.12  		 FocusChangeMask | KeyPressMask | KeyReleaseMask
    1.13  		 | PropertyChangeMask | StructureNotifyMask | KeymapStateMask);
    1.14  
    1.15 -    char * savedclassname = 0;
    1.16      /* Set the class hints so we can get an icon (AfterStep) */
    1.17      {
    1.18  	XClassHint *classhints;