From 93d96fe52bf5bdba033f78c9b8f5c7393c8a1258 Mon Sep 17 00:00:00 2001 From: "jean.chalard" Date: Thu, 7 Jul 2011 03:41:51 +0000 Subject: [PATCH] Revert a careless change Seems I did something wrong with SVN. Revert the changed parts that should not have been changed. --- JGE/src/Qtmain.cpp | 4 ++-- JGE/src/Xmain.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/JGE/src/Qtmain.cpp b/JGE/src/Qtmain.cpp index 559b48f2c..aa6573fb1 100644 --- a/JGE/src/Qtmain.cpp +++ b/JGE/src/Qtmain.cpp @@ -1,6 +1,6 @@ #define GL_GLEXT_PROTOTYPES -#include -#include +#include +#include #ifdef Q_WS_MAEMO_5 // For volume buttons support diff --git a/JGE/src/Xmain.cpp b/JGE/src/Xmain.cpp index 3bc771f7c..4359eee6a 100644 --- a/JGE/src/Xmain.cpp +++ b/JGE/src/Xmain.cpp @@ -50,8 +50,8 @@ JGameLauncher* g_launcher = NULL; //------------------------------------------------------------------------ Display* gXDisplay = NULL; -Window gXWindow = (Window)0; -GLXWindow glxWin = (GLXWindow)0; +Window gXWindow = (Window)NULL; +GLXWindow glxWin = (GLXWindow)NULL; static std::multiset gControllerState; static std::multiset gPrevControllerState; @@ -173,7 +173,7 @@ void KillGLWindow(void) // Properly Kill The Window { if (gXWindow && gXDisplay) XDestroyWindow(gXDisplay, gXWindow); - gXWindow = (Window)0; + gXWindow = (Window)NULL; }