(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.
authorDarkvater
Sun, 17 Jul 2005 17:16:35 +0000
changeset 2104 74b151cc3004
parent 2103 9266bb2ac29d
child 2105 0f7dbfcba5d3
(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.
gfx.c
--- a/gfx.c	Sun Jul 17 17:15:33 2005 +0000
+++ b/gfx.c	Sun Jul 17 17:16:35 2005 +0000
@@ -298,7 +298,7 @@
 		// Remember the last position where three dots fit.
 		if (w + ddd < maxw) {
 			ddd_w = w + ddd;
-			ddd_pos = str;
+			ddd_pos = str + 1;
 		}
 	}