diff options
author | Strangerke | 2014-12-04 14:17:30 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:00:46 -0500 |
commit | 84ba0df9b2ce15d6c1d32a6c61794a1accb3fc99 (patch) | |
tree | c2a59c0c550123fdf659ecc1a7d9a746ee2482bd /engines/access/font.cpp | |
parent | 3c97961fd2c300a4b4541517a4884498f5d52366 (diff) | |
download | scummvm-rg350-84ba0df9b2ce15d6c1d32a6c61794a1accb3fc99.tar.gz scummvm-rg350-84ba0df9b2ce15d6c1d32a6c61794a1accb3fc99.tar.bz2 scummvm-rg350-84ba0df9b2ce15d6c1d32a6c61794a1accb3fc99.zip |
ACCESS: Janitorial
Diffstat (limited to 'engines/access/font.cpp')
-rw-r--r-- | engines/access/font.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/access/font.cpp b/engines/access/font.cpp index 5686cdf3b0..51fb9dc1c8 100644 --- a/engines/access/font.cpp +++ b/engines/access/font.cpp @@ -50,7 +50,7 @@ void Font::load(const int *fontIndex, const byte *fontData) { int bitsLeft = 0; byte srcByte = 0; byte pixel; - + byte *pDest = (byte *)_chars[i].getBasePtr(0, y); for (int x = 0; x < _chars[i].w; ++x, ++pDest) { // Get the pixel @@ -115,8 +115,8 @@ bool Font::getLine(Common::String &s, int maxWidth, Common::String &line, int &w s = ""; return true; } - - // Work backwards to find space at the start of the current word + + // Work backwards to find space at the start of the current word // as a point to split the line on while (src >= s.c_str() && *src != ' ') { width -= charWidth(*src); |