From 987fd67ce0591e35b554b8dc1079e4889e9b0955 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Fri, 11 May 2012 17:30:43 +0200 Subject: WINTERMUTE: Handle a few more forbidden symbols. --- engines/wintermute/BFontBitmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wintermute/BFontBitmap.cpp') 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; } } -- cgit v1.2.3