(svn r2614) - Fix: Trunctuate function used one less character than it was supposed to. Because of this real width and reported width didn't correspond with eachother.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
Darkvater 19 years ago
parent f8b7b107d8
commit dfc3695ad7

@ -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;
}
}

Loading…
Cancel
Save