summaryrefslogtreecommitdiff
path: root/src/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl')
-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++ )