From be1d08770d5a7bd6d889c76d2743f7b6e6e3d204 Mon Sep 17 00:00:00 2001 From: jsalmon3 <> Date: Fri, 17 Oct 2003 17:45:27 +0000 Subject: [PATCH] More cleanup --- src/video/font.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/video/font.cpp b/src/video/font.cpp index af5e4f7d5..96aadc047 100644 --- a/src/video/font.cpp +++ b/src/video/font.cpp @@ -63,7 +63,7 @@ typedef struct _font_color_mapping_ { struct _font_color_mapping_* Next; /// Next pointer } FontColorMapping; -local const VMemType *FontPixels; /// Font pixels +local const VMemType* FontPixels; /// Font pixels #define FontPixels8 (&FontPixels->D8) /// font pixels 8bpp #define FontPixels16 (&FontPixels->D16) /// font pixels 16bpp #define FontPixels24 (&FontPixels->D24) /// font pixels 24bpp @@ -535,7 +535,7 @@ local int DoDrawText(int x, int y, unsigned font, const unsigned char* text, case '~': break; case '!': - rev=FontPixels; + rev = FontPixels; FontPixels = ReverseTextColor; ++text; break; @@ -746,15 +746,15 @@ global int VideoDrawReverseNumber(int x, int y, unsigned font, int number) local void FontMeasureWidths(ColorFont* fp) { int y; - const unsigned char *sp; - const unsigned char *lp; - const unsigned char *gp; + const unsigned char* sp; + const unsigned char* lp; + const unsigned char* gp; - for (y = 1; y < 207; y++) { + for (y = 1; y < 207; ++y) { fp->CharWidth[y] = 0; } - for (y = 1; y < 207; y++) { + for (y = 1; y < 207; ++y) { sp = (const unsigned char *)fp->Graphic->Frames + y * fp->Height * fp->Graphic->Width - 1; gp = sp + fp->Graphic->Width * fp->Height;