about summary refs log tree commit diff
path: root/src/engine/textrender.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-08-16 02:21:18 +0200
committeroy <Tom_Adams@web.de>2010-08-16 02:21:18 +0200
commitabc84ac0b0ff77b3b30a20252f86332c699e4466 (patch)
tree4ed487066f87aaac06b28ffd749f94126b169cd9 /src/engine/textrender.h
parent4c2dcc4f2b5f061a1d75aa2aa0b316c4b86bc1d8 (diff)
downloadzcatch-abc84ac0b0ff77b3b30a20252f86332c699e4466.tar.gz
zcatch-abc84ac0b0ff77b3b30a20252f86332c699e4466.zip
added fixes for compiler errors and warnings by sworddragon
Diffstat (limited to 'src/engine/textrender.h')
-rw-r--r--src/engine/textrender.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/textrender.h b/src/engine/textrender.h
index 38dd5d86..6e28b1d5 100644
--- a/src/engine/textrender.h
+++ b/src/engine/textrender.h
@@ -45,7 +45,7 @@ public:
 	virtual void TextColor(float r, float g, float b, float a) = 0;
 	virtual void Text(void *pFontSetV, float x, float y, float Size, const char *pText, int MaxWidth) = 0;
 	virtual float TextWidth(void *pFontSetV, float Size, const char *pText, int Length) = 0;
-	virtual float TextLineCount(void *pFontSetV, float Size, const char *pText, int LineWidth) = 0;
+	virtual int TextLineCount(void *pFontSetV, float Size, const char *pText, float LineWidth) = 0;
 };
 
 class IEngineTextRender : public ITextRender