gfx.c
changeset 4819 faa853fcd3d4
parent 4610 45ac1d25fd62
child 4912 d04b3f2bca70
--- a/gfx.c	Thu Oct 12 07:42:37 2006 +0000
+++ b/gfx.c	Thu Oct 12 10:14:45 2006 +0000
@@ -559,10 +559,10 @@
 			br.width += GetCharacterWidth(size, c);
 		} else {
 			switch (c) {
-				case ASCII_SETX: br.width += (byte)*str++; break;
+				case ASCII_SETX: br.width += (byte)*++str; break;
 				case ASCII_SETXY:
-					br.width += (byte)*str++;
-					br.height += (byte)*str++;
+					br.width += (byte)*++str;
+					br.height += (byte)*++str;
 					break;
 				case ASCII_TINYFONT: size = FS_SMALL; break;
 				case ASCII_BIGFONT:  size = FS_LARGE; break;