summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sdl/sdl_glimp.c2
-rw-r--r--src/sdl/sdl_input.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sdl/sdl_glimp.c b/src/sdl/sdl_glimp.c
index 4d8982bf..aeb567c5 100644
--- a/src/sdl/sdl_glimp.c
+++ b/src/sdl/sdl_glimp.c
@@ -804,7 +804,7 @@ void GLimp_EndFrame( void )
{
// SDL_WM_ToggleFullScreen didn't work, so do it the slow way
if( !sdlToggled )
- ri.Cmd_ExecuteText(EXEC_APPEND, "vid_restart");
+ ri.Cmd_ExecuteText(EXEC_APPEND, "vid_restart\n");
ri.IN_Restart( );
}
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c
index 070ba600..e47034fd 100644
--- a/src/sdl/sdl_input.c
+++ b/src/sdl/sdl_input.c
@@ -1061,7 +1061,7 @@ void IN_Frame( void )
if( ( vidRestartTime != 0 ) && ( vidRestartTime < Sys_Milliseconds( ) ) )
{
vidRestartTime = 0;
- Cbuf_AddText( "vid_restart" );
+ Cbuf_AddText( "vid_restart\n" );
}
}