From 34273deb566046cf5958365a67ab31bfc946d037 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Thu, 2 Jun 2011 23:27:47 +0200 Subject: utf8 improvements; TODO: still bug when scrolling (jumping characters) --- glcdgraphics/font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glcdgraphics/font.h') diff --git a/glcdgraphics/font.h b/glcdgraphics/font.h index 3bab7df..9f4bdf8 100644 --- a/glcdgraphics/font.h +++ b/glcdgraphics/font.h @@ -81,7 +81,7 @@ public: void WrapText(int Width, int Height, std::string & Text, std::vector & Lines, int * TextWidth = NULL) const; bool IsUTF8(void) const { return isutf8; } - static void Utf8CodeAdjustCounter(const std::string & str, uint32_t & c, unsigned int & i); + static void EncodedCharAdjustCounter(const bool isutf8, const std::string & str, uint32_t & c, unsigned int & i); }; } // end of namespace -- cgit v1.2.3