From 6b4484472b79dc7ea7d1ce545a28fba7d3b7696f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 30 Jul 2005 21:11:48 +0000 Subject: Remove trailing whitespaces. svn-id: r18604 --- saga/font.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'saga/font.h') diff --git a/saga/font.h b/saga/font.h index 70a15ee451..df0137ed04 100644 --- a/saga/font.h +++ b/saga/font.h @@ -33,14 +33,14 @@ namespace Saga { #define FONT_SHOWUNDEFINED 1 // Define to draw undefined characters * as ?'s -// The first defined character (!) is the only one that may +// The first defined character (!) is the only one that may // have a valid offset of '0' #define FONT_FIRSTCHAR 33 #define FONT_CH_SPACE 32 #define FONT_CH_QMARK 63 -// Minimum font header size without font data +// Minimum font header size without font data // (6 + 512 + 256 + 256 + 256 ) #define FONT_DESCSIZE 1286 @@ -64,7 +64,7 @@ struct TextListEntry { FontId fontId; const char *text; TextListEntry() { - memset(this, 0, sizeof(*this)); + memset(this, 0, sizeof(*this)); } }; @@ -112,7 +112,7 @@ class Font { void textDraw(FontId fontId, Surface *ds, const char *string, const Common::Point &point, int color, int effectColor, FontEffectFlags flags); void textDrawRect(FontId fontId, Surface *ds, const char *text, const Common::Rect &rect, int color, int effectColor, FontEffectFlags flags); - + void validate(FontId fontId) { if ((fontId < 0) || (fontId >= _loadedFonts)) { error("Font::validate: Invalid font id."); -- cgit v1.2.3