(svn r6463) -Fix (r6462): Reset the string width to zero on every new line of course...
authorDarkvater
Sat, 16 Sep 2006 13:44:12 +0000
changeset 4610 f264efbf7f4f
parent 4609 954fe701062f
child 4611 89bc316009c9
(svn r6463) -Fix (r6462): Reset the string width to zero on every new line of course...
gfx.c
--- a/gfx.c	Sat Sep 16 13:20:14 2006 +0000
+++ b/gfx.c	Sat Sep 16 13:44:12 2006 +0000
@@ -568,10 +568,8 @@
 				case ASCII_BIGFONT:  size = FS_LARGE; break;
 				case ASCII_NL:
 					br.height += GetCharacterHeight(size);
-					if (br.width > max_width) {
-						max_width = br.width;
-						br.width = 0;
-					}
+					if (br.width > max_width) max_width = br.width;
+					br.width = 0;
 					break;
 			}
 		}