diff options
author | Johannes Schickel | 2009-01-02 00:52:01 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-01-02 00:52:01 +0000 |
commit | 655a1cb2278a8b6f89d22049a68d58d287b36efa (patch) | |
tree | 591eab814285d7168321424a34a3b89b2d213011 /engines | |
parent | 15784edb08c2977ff862551cee38cd6e38896e7d (diff) | |
download | scummvm-rg350-655a1cb2278a8b6f89d22049a68d58d287b36efa.tar.gz scummvm-rg350-655a1cb2278a8b6f89d22049a68d58d287b36efa.tar.bz2 scummvm-rg350-655a1cb2278a8b6f89d22049a68d58d287b36efa.zip |
Oops. (stupid c&p bug)
svn-id: r35659
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/video.cpp b/engines/gob/video.cpp index e2c76f83b7..9f02a82572 100644 --- a/engines/gob/video.cpp +++ b/engines/gob/video.cpp @@ -557,7 +557,7 @@ void Video::drawOSDText(const char *text) { uint32 color = 0x2; Graphics::Surface surf; - surf.create(g_system->getWidth(), font.getFontHeight(), surf.bytesPerPixel); + surf.create(g_system->getWidth(), font.getFontHeight(), 1); font.drawString(&surf, text, 0, 0, surf.w, color, Graphics::kTextAlignCenter); |