diff --git a/gfx.c b/gfx.c index fd5f48ddbb..57b92c15df 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; } }