From 35c7455ab5e87124c213bf6e43ce90750aca0a4f Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Sun, 17 Oct 2004 02:03:01 +0000 Subject: [PATCH] s/formated/formatted --- src/video/font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/font.cpp b/src/video/font.cpp index b8bcfbcb6..007460e41 100644 --- a/src/video/font.cpp +++ b/src/video/font.cpp @@ -195,7 +195,7 @@ int VideoTextLength(unsigned font, const unsigned char* text) isformat = 0; for (width = 0, s = text; *s; ++s) { if (*s == '~') { - if (!*++s) { // bad formated string + if (!*++s) { // bad formatted string break; } if (*s == '<' || *s == '>') { @@ -296,7 +296,7 @@ static int DoDrawText(int x, int y, unsigned font, const unsigned char* text, for (rev = NULL, widths = 0; *text; ++text) { if (*text == '~') { switch (*++text) { - case '\0': // wrong formated string. + case '\0': // wrong formatted string. DebugPrint("oops, format your ~\n"); return widths; case '~':