diff options
author | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 |
commit | 6b4484472b79dc7ea7d1ce545a28fba7d3b7696f (patch) | |
tree | c44c4e61f18ddd537f7082cb48869cf33d422fbd /saga/font.h | |
parent | 86ab70b149e5cd00cf54f2e41896e2c4e16795e4 (diff) | |
download | scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.gz scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.bz2 scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.zip |
Remove trailing whitespaces.
svn-id: r18604
Diffstat (limited to 'saga/font.h')
-rw-r--r-- | saga/font.h | 8 |
1 files changed, 4 insertions, 4 deletions
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."); |