From aacb78d4335e498417835d518c64b33acb58c749 Mon Sep 17 00:00:00 2001 From: Zoolooc Date: Mon, 7 Mar 2011 22:12:13 +0100 Subject: consolidate Uf8 sequence detection in Utf8CodeAdjustCounter --- glcdgraphics/font.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glcdgraphics/font.h') diff --git a/glcdgraphics/font.h b/glcdgraphics/font.h index 6bf72f5..f3427d5 100644 --- a/glcdgraphics/font.h +++ b/glcdgraphics/font.h @@ -83,6 +83,8 @@ public: void WrapText(int Width, int Height, std::string & Text, std::vector & Lines, int * TextWidth = NULL) const; + + static void Utf8CodeAdjustCounter(const std::string & str, int & c, unsigned int & i); }; } // end of namespace -- cgit v1.2.3