diff --git a/src/ZE_ZEngine.cpp b/src/ZE_ZEngine.cpp
index ff22ac7..096aa26 100644
--- a/src/ZE_ZEngine.cpp
+++ b/src/ZE_ZEngine.cpp
@@ -13,7 +13,7 @@
File: ZE_ZEngine.cpp
Description: Implementation source file for ZEngine library main singleton class.
Author(s): James Turk
-$Id: ZE_ZEngine.cpp,v 1.13 2003/01/12 17:28:11 cozman Exp $
+$Id: ZE_ZEngine.cpp,v 1.14 2003/01/12 20:55:46 cozman Exp $
\file ZE_ZEngine.cpp
\brief Central source file for ZEngine.
@@ -106,7 +106,7 @@ bool ZEngine::CreateDisplay(string title, string icon)
if(SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER|SDL_INIT_AUDIO) < 0)
{
- LogError(FormatStr("SDL could not be initialized: %s", mWidth, mHeight, mBPP, SDL_GetError()));
+ LogError(FormatStr("SDL could not be initialized: %s", SDL_GetError()));
return false;
}
@@ -180,11 +180,11 @@ bool ZEngine::CreateDisplay(string title, string icon)
Mix_CloseAudio();
#endif
SDL_Quit();
- LogError(FormatStr("Unable to set video mode %dx%d (%dBpp): %s. Desktop Depth (%d) failed, fatal error.",mWidth,mHeight,mBPP,SDL_GetError()));
+ LogError(FormatStr("Unable to set video mode %dx%d (%dBpp): %s. Desktop Depth failed, fatal error.",mWidth,mHeight,mBPP,SDL_GetError()));
return false;
}
else //let them know what they wanted failed
- LogError(FormatStr("Unable to set video mode %dx%d (%dBpp): %s. Desktop Depth (%d) worked.",mWidth,mHeight,mBPP,SDL_GetError()));
+ LogError(FormatStr("Unable to set video mode %dx%d (%dBpp): %s. Desktop Depth worked.",mWidth,mHeight,mBPP,SDL_GetError()));
}
mWidth = mScreen->w;
@@ -200,7 +200,7 @@ bool ZEngine::CreateDisplay(string title, string icon)
#ifdef USE_SDL_TTF
if(TTF_Init() < 0)
{
- LogError(FormatStr("SDL could not be initialized: %s", mWidth, mHeight, mBPP, SDL_GetError()));
+ LogError(FormatStr("SDL_ttf could not be initialized: %s", TTF_GetError()));
return false;
}
#endif //USE_SDL_TTF