summaryrefslogtreecommitdiff
path: root/source/sys_unix.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-09-30 13:06:34 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-09-30 13:06:34 +0000
commit859e34f1f5c95c3b2c6a95b57496f11bb970a2f3 (patch)
treed52ab4513b0a4eadd788f23aaf30bf6872d0679b /source/sys_unix.c
parent46fffc982f93b82a695861493b0b6c9ce668b23a (diff)
Make sure Info_RemoveKey removes any possible duplicates.
Misc code cleanup.
Diffstat (limited to 'source/sys_unix.c')
-rw-r--r--source/sys_unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/sys_unix.c b/source/sys_unix.c
index 50ba9cb..7b471f0 100644
--- a/source/sys_unix.c
+++ b/source/sys_unix.c
@@ -540,7 +540,7 @@ Sys_GetClipboardData
=================
*/
char *Sys_GetClipboardData( void ) {
-#ifdef USE_SDL
+#if USE_SDL
SDL_SysWMinfo info;
Display *dpy;
Window sowner, win;
@@ -684,7 +684,7 @@ static void Sys_Segv( int signum ) {
Sys_ShutdownTTY();
-#ifdef USE_SDL
+#if USE_SDL
SDL_ShowCursor( SDL_ENABLE );
SDL_WM_GrabInput( SDL_GRAB_OFF );
SDL_Quit();
@@ -775,7 +775,7 @@ void Sys_Error( const char *error, ... ) {
Sys_ShutdownTTY();
-#ifdef USE_SDL
+#if USE_SDL
SDL_ShowCursor( SDL_ENABLE );
SDL_WM_GrabInput( SDL_GRAB_OFF );
SDL_Quit();