diff options
author | Eugene Sandulenko | 2016-01-18 22:14:45 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:12:48 +0100 |
commit | 028e3c14d52e7a8d22cc0bcfaee0f365c856c85f (patch) | |
tree | ead2623fb7bcef9b0d45e38d0c79c57a336f8955 | |
parent | d9c3cd18d65c3c3fdaaa2001641a1e02bd7d5373 (diff) | |
download | scummvm-rg350-028e3c14d52e7a8d22cc0bcfaee0f365c856c85f.tar.gz scummvm-rg350-028e3c14d52e7a8d22cc0bcfaee0f365c856c85f.tar.bz2 scummvm-rg350-028e3c14d52e7a8d22cc0bcfaee0f365c856c85f.zip |
WAGE: Fix border title drawing
-rw-r--r-- | engines/wage/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index a776dba905..02b735d9ea 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -389,12 +389,12 @@ void Gui::paintBorder(Graphics::Surface *g, Common::Rect &r, WindowType windowTy const Graphics::Font *font = getTitleFont(); int yOff = _builtInFonts ? 3 : 1; - int w = font->getStringWidth(_scene->_name) + 6; + int w = font->getStringWidth(_scene->_name) + 10; int maxWidth = width - size*2 - 7; if (w > maxWidth) w = maxWidth; drawBox(g, x + (width - w) / 2, y, w, size); - font->drawString(g, _scene->_name, x + (width - w) / 2 + 3, y + yOff, w, kColorBlack); + font->drawString(g, _scene->_name, x + (width - w) / 2 + 5, y + yOff, w, kColorBlack); } g_system->copyRectToScreen(g->getBasePtr(x, y), g->pitch, x, y, width, height); |