diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-09-08 22:48:48 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-09-08 22:48:48 +0000 |
commit | b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114 (patch) | |
tree | 1e06f3964ddb677888b63b4e7265188925492674 /src/main.cpp | |
parent | 0ba846818fcfd01142c0c615adc487e342e5f243 (diff) | |
download | mana-b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114.tar.gz mana-b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114.tar.bz2 mana-b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114.tar.xz mana-b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114.zip |
Removed inclusion of malloc.h header as it doens't seem necessary and was
problematic on FreeBSD.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |