about summary refs log tree commit diff
path: root/src/engine/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2010-07-05 20:57:07 +0200
committerMagnus Auvinen <magnus.auvinen@gmail.com>2010-07-05 20:57:07 +0200
commit575f72d978c700e4bedb46f4083bf1c24726640e (patch)
tree4ff07848769ab4e308cbd27959181423904f4292 /src/engine/client
parentd302ba921e61177da9af1f85df58fe6f47ca5e95 (diff)
downloadzcatch-575f72d978c700e4bedb46f4083bf1c24726640e.tar.gz
zcatch-575f72d978c700e4bedb46f4083bf1c24726640e.zip
fixed some compiler errors and warnings with clang
Diffstat (limited to 'src/engine/client')
-rw-r--r--src/engine/client/text.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp
index 8fa8efee..672fde60 100644
--- a/src/engine/client/text.cpp
+++ b/src/engine/client/text.cpp
@@ -67,8 +67,9 @@ struct CFontSizeData
 	int m_CurrentCharacter;	
 };
 
-struct CFont
+class CFont
 {
+public:
 	char m_aFilename[128];
 	FT_Face m_FtFace;
 	CFontSizeData m_aSizes[NUM_FONT_SIZES];
@@ -101,7 +102,7 @@ class CTextRender : public IEngineTextRender
 	
 	int m_FontTextureFormat;
 
-	struct CFont *m_pDefaultFont;
+	CFont *m_pDefaultFont;
 
 	FT_Library m_FTLibrary;
 	
@@ -470,7 +471,7 @@ public:
 		mem_free(pFont);
 	}
 
-	virtual void SetDefaultFont(struct CFont *pFont)
+	virtual void SetDefaultFont(CFont *pFont)
 	{
 		dbg_msg("textrender", "default pFont set %p", pFont);
 		m_pDefaultFont = pFont;