From b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 8 Sep 2005 22:48:48 +0000 Subject: Removed inclusion of malloc.h header as it doens't seem necessary and was problematic on FreeBSD. --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 84e8b73a..7633df71 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -254,7 +254,8 @@ void init_engine() // Try to set the desired video mode - if (!graphics->setVideoMode(width, height, bpp, fullscreen, hwaccel)) { + if (!graphics->setVideoMode(width, height, bpp, fullscreen, hwaccel)) + { std::cerr << "Couldn't set " << width << "x" << height << "x" << bpp << " video mode: " << SDL_GetError() << std::endl; exit(1); -- cgit v1.2.3-70-g09d2