From abc84ac0b0ff77b3b30a20252f86332c699e4466 Mon Sep 17 00:00:00 2001 From: oy Date: Mon, 16 Aug 2010 02:21:18 +0200 Subject: added fixes for compiler errors and warnings by sworddragon --- src/engine/textrender.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/textrender.h') 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 -- cgit 1.4.1