diff options
author | Einar Johan Trøan Sømåen | 2012-05-11 17:30:43 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 13:01:45 +0200 |
commit | 987fd67ce0591e35b554b8dc1079e4889e9b0955 (patch) | |
tree | 4375b4d0ad5f05cc56d17d0a3ab9fdcbd44c033e /engines/wintermute/BFontBitmap.cpp | |
parent | 0d9ec2a0a9be9d92cb6c96c401bdfbea24edecf5 (diff) | |
download | scummvm-rg350-987fd67ce0591e35b554b8dc1079e4889e9b0955.tar.gz scummvm-rg350-987fd67ce0591e35b554b8dc1079e4889e9b0955.tar.bz2 scummvm-rg350-987fd67ce0591e35b554b8dc1079e4889e9b0955.zip |
WINTERMUTE: Handle a few more forbidden symbols.
Diffstat (limited to 'engines/wintermute/BFontBitmap.cpp')
-rw-r--r-- | engines/wintermute/BFontBitmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/BFontBitmap.cpp b/engines/wintermute/BFontBitmap.cpp index caa0fb8bf1..46e66ae84c 100644 --- a/engines/wintermute/BFontBitmap.cpp +++ b/engines/wintermute/BFontBitmap.cpp @@ -508,7 +508,7 @@ HRESULT CBFontBitmap::GetWidths() { if (xxx + col < 0 || xxx + col >= surf->GetWidth() || yyy + row < 0 || yyy + row >= surf->GetHeight()) continue;
if (!surf->IsTransparentAtLite(xxx + col, yyy + row)) {
//min_col = col;
- min_col = std::max(col, min_col);
+ min_col = MAX(col, min_col);
break;
}
}
|