From 50f0a7e7480e5c0fb78e5a4dbe1c27396f2c4020 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Mon, 24 Oct 2005 18:59:23 +0000 Subject: Corrections to my previous commit for tmw for windows users. --- src/main.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index f2dcbf9d..cd425bbd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,9 +23,6 @@ #include "main.h" -// For version support -#include "../config.h" - #include #include #include @@ -39,6 +36,7 @@ #ifdef __USE_UNIX98 #include #include +#include "../config.h" #endif #include "configuration.h" @@ -382,7 +380,9 @@ void parseOptions(int argc, char *argv[], Options &options) /** Main */ int main(int argc, char *argv[]) { +#ifdef __USE_UNIX98 std::cout << "The Mana World v" << PACKAGE_VERSION << std::endl; +#endif logger = new Logger(); Options options; @@ -456,8 +456,10 @@ int main(int argc, char *argv[]) } graphics->drawImage(login_wallpaper, 0, 0); +#ifdef __USE_UNIX98 graphics->setFont(gui->getFont()); graphics->drawText(PACKAGE_VERSION, 0, 0); +#endif gui->draw(); graphics->updateScreen(); -- cgit v1.2.3-70-g09d2