From b3983e582a20f174617c1e082c1ae3f23a253ba9 Mon Sep 17 00:00:00 2001 From: Jonathan Young Date: Sat, 21 Sep 2013 19:37:12 +1000 Subject: [PATCH] astyle --- neo/renderer/RenderSystem_init.cpp | 2 +- neo/sys/sdl/sdl_events.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neo/renderer/RenderSystem_init.cpp b/neo/renderer/RenderSystem_init.cpp index 72890497..ee8c70a2 100644 --- a/neo/renderer/RenderSystem_init.cpp +++ b/neo/renderer/RenderSystem_init.cpp @@ -626,7 +626,7 @@ static void R_CheckPortableExtensions() if( r_debugContext.GetInteger() >= 1 ) { - qglDebugMessageCallbackARB( (GLDEBUGPROCARB)DebugCallback, NULL ); + qglDebugMessageCallbackARB( ( GLDEBUGPROCARB )DebugCallback, NULL ); } if( r_debugContext.GetInteger() >= 2 ) { diff --git a/neo/sys/sdl/sdl_events.cpp b/neo/sys/sdl/sdl_events.cpp index 4ed83410..af229d40 100644 --- a/neo/sys/sdl/sdl_events.cpp +++ b/neo/sys/sdl/sdl_events.cpp @@ -891,7 +891,7 @@ sysEvent_t Sys_GetEvent() // SDL2 has no ev.key.keysym.unicode anymore.. but the scancode should work well enough for console if( ev.type == SDL_KEYDOWN ) // FIXME: don't complain if this was an ASCII char and the console is open? common->Warning( "unmapped SDL key %d scancode %d", ev.key.keysym.sym, ev.key.keysym.scancode ); - + return res_none; #else unsigned char uc = ev.key.keysym.unicode & 0xff;