summaryrefslogtreecommitdiff
path: root/src/sdl/sdl_glimp.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2015-06-12 12:59:25 -0500
committerTim Angus <tim@ngus.net>2016-04-07 11:02:28 +0100
commit14964e061958f37aff3e4a68f22523df91bdc373 (patch)
tree12374a45c0c4f54d6955ea7ba2a8fcb7033d40b3 /src/sdl/sdl_glimp.c
parentfb3b786df5159b7a2a67dda8c51cd48a78801d50 (diff)
Remove erroneous new line from error message
Diffstat (limited to 'src/sdl/sdl_glimp.c')
-rw-r--r--src/sdl/sdl_glimp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdl/sdl_glimp.c b/src/sdl/sdl_glimp.c
index 1f45551f..ffda45a0 100644
--- a/src/sdl/sdl_glimp.c
+++ b/src/sdl/sdl_glimp.c
@@ -149,10 +149,10 @@ static void GLimp_DetectAvailableModes(void)
}
numSDLModes = SDL_GetNumDisplayModes( display );
- modes = SDL_calloc( numSDLModes, sizeof( SDL_Rect ));
+ modes = SDL_calloc( numSDLModes, sizeof( SDL_Rect ) );
if ( !modes )
{
- ri.Error( ERR_FATAL, "Out of memory\n" );
+ ri.Error( ERR_FATAL, "Out of memory" );
}
for( i = 0; i < numSDLModes; i++ )