changed ASSERT_MESSAGE and ERROR_MESSAGE macros to use proper
do{}while(0) encapsulation to protect them when used in an if block
without {}
previously they used else to consume the trailing ; but this
could just as easily consume any other following statement
(very dangerous in concept, but no damage done in this case)
this causes no change whatsoever in release builds
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@152 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -3310,7 +3310,11 @@ void GlobalGL_sharedContextCreated()
|
||||
GlobalShaderCache().realise();
|
||||
Textures_Realise();
|
||||
|
||||
#ifdef __linux__
|
||||
g_font = glfont_create("fixed 8");
|
||||
#else
|
||||
g_font = glfont_create("courier 8");
|
||||
#endif
|
||||
GlobalOpenGL().m_font = g_font.getDisplayList();
|
||||
GlobalOpenGL().m_fontHeight = g_font.getPixelHeight();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user