summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-05-27 23:36:18 +0300
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_fr>2010-05-27 23:24:59 +0200
commit6c91c7eed18ad377484e7f0edf6eff520f056c13 (patch)
tree1dc0ae52cb45b9393429e7092f6501d4b073179c /src/utils/stringutils.h
parentad34e7cf98b7a4d7096b66c743e4a087d9b432dd (diff)
downloadmana-6c91c7eed18ad377484e7f0edf6eff520f056c13.tar.gz
mana-6c91c7eed18ad377484e7f0edf6eff520f056c13.tar.bz2
mana-6c91c7eed18ad377484e7f0edf6eff520f056c13.tar.xz
mana-6c91c7eed18ad377484e7f0edf6eff520f056c13.zip
Fix drawing incorrect utf8 strings issue.
Reviewed-by: Bertram Resolve: Manasource Mantis #143
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index 5e4718c0..ec82e240 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -123,4 +123,6 @@ bool isWordSeparator(char chr);
const std::string findSameSubstring(const std::string &str1, const std::string &str2);
+const char* getSafeUtf8String(std::string text);
+
#endif // UTILS_STRINGUTILS_H