Difference for arch/sdl/init.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 1
 
Line 1
 // SDL architecture support  // SDL architecture support
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdio.h>  #include <stdio.h>
 #include "SDL.h"  #include <SDL/SDL.h>
 #include "text.h"  #include "text.h"
 #include "event.h"  #include "event.h"
 #include "error.h"  #include "error.h"
 #include "args.h"  #include "args.h"
   
   extern void d_mouse_init();
   
 void sdl_close()  void sdl_close()
 {  {
  SDL_Quit();   SDL_Quit();
Line 32
 
Line 34
 //end edit -MM  //end edit -MM
     Error("SDL library initialisation failed: %s.",SDL_GetError());      Error("SDL library initialisation failed: %s.",SDL_GetError());
  }   }
   #ifdef SDL_INPUT
    if (!FindArg("-nomouse"))
     d_mouse_init();
   #endif
  atexit(sdl_close);   atexit(sdl_close);
 }  }

Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2