(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.

This commit is contained in:
Darkvater
2005-07-17 17:16:35 +00:00
parent 3f8ba76b2f
commit cbad2dad33

2
gfx.c
View File

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