summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.c b/gfx.c
index fd5f48ddb..57b92c15d 100644
--- a/gfx.c
+++ b/gfx.c
@@ -298,7 +298,7 @@ static int TruncateString(char *str, uint maxw)
// Remember the last position where three dots fit.
if (w + ddd < maxw) {
ddd_w = w + ddd;
- ddd_pos = str;
+ ddd_pos = str + 1;
}
}