summaryrefslogtreecommitdiff
path: root/glcdgraphics/font.h
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2011-06-02 23:27:47 +0200
committermrwastl <mrwastl@users.sourceforge.net>2011-06-02 23:27:47 +0200
commit34273deb566046cf5958365a67ab31bfc946d037 (patch)
tree902db59e383a0f1a2419b91f4aeb94284269cfc1 /glcdgraphics/font.h
parente2afe569e07bbe393bb307a860b1a895660ba371 (diff)
downloadgraphlcd-base-34273deb566046cf5958365a67ab31bfc946d037.tar.gz
graphlcd-base-34273deb566046cf5958365a67ab31bfc946d037.tar.bz2
utf8 improvements; TODO: still bug when scrolling (jumping characters)
Diffstat (limited to 'glcdgraphics/font.h')
-rw-r--r--glcdgraphics/font.h2
1 files changed, 1 insertions, 1 deletions
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 <std::string> & 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