aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Overlay.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp
index aaf22a6..685d95e 100644
--- a/src/Overlay.cpp
+++ b/src/Overlay.cpp
@@ -1640,6 +1640,7 @@ namespace gsr {
return result;
}
+ // TODO: Utf8 truncate
static void truncate_string(std::string &str, int max_length) {
if((int)str.size() > max_length)
str.replace(str.begin() + max_length, str.end(), "...");