(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 eddbaa3137b6
parent 2103 a2b3106d33d5
child 2105 b519601aa75a
(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;
 		}
 	}