aboutsummaryrefslogtreecommitdiff
path: root/engines/access/font.cpp
diff options
context:
space:
mode:
authorStrangerke2014-12-04 14:17:30 +0100
committerPaul Gilbert2014-12-12 23:00:46 -0500
commit84ba0df9b2ce15d6c1d32a6c61794a1accb3fc99 (patch)
treec2a59c0c550123fdf659ecc1a7d9a746ee2482bd /engines/access/font.cpp
parent3c97961fd2c300a4b4541517a4884498f5d52366 (diff)
downloadscummvm-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.cpp6
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);