Mercurial > audlegacy-plugins
comparison src/paranormal/paranormal.c @ 191:6d5f164a8719 trunk
[svn] - fix warning (oops)
author | nenolod |
---|---|
date | Thu, 02 Nov 2006 21:44:14 -0800 |
parents | 31f238746877 |
children | a7c823478180 |
comparison
equal
deleted
inserted
replaced
190:31f238746877 | 191:6d5f164a8719 |
---|---|
118 #ifdef FULLSCREEN_HACK | 118 #ifdef FULLSCREEN_HACK |
119 screen = gdk_screen_get_default(); | 119 screen = gdk_screen_get_default(); |
120 sprintf(SDL_windowhack,"SDL_WINDOWID=%d", | 120 sprintf(SDL_windowhack,"SDL_WINDOWID=%d", |
121 GDK_WINDOW_XWINDOW(gdk_screen_get_root_window(screen))); | 121 GDK_WINDOW_XWINDOW(gdk_screen_get_root_window(screen))); |
122 putenv(SDL_windowhack); | 122 putenv(SDL_windowhack); |
123 #endif FULLSCREEN_HACK | 123 #endif |
124 | 124 |
125 if (SDL_Init (SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_NOPARACHUTE) < 0) | 125 if (SDL_Init (SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_NOPARACHUTE) < 0) |
126 pn_fatal_error ("Unable to initialize SDL: %s", SDL_GetError ()); | 126 pn_fatal_error ("Unable to initialize SDL: %s", SDL_GetError ()); |
127 | 127 |
128 #ifndef FULLSCREEN_HACK | 128 #ifndef FULLSCREEN_HACK |