aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-01-02 00:52:01 +0000
committerJohannes Schickel2009-01-02 00:52:01 +0000
commit655a1cb2278a8b6f89d22049a68d58d287b36efa (patch)
tree591eab814285d7168321424a34a3b89b2d213011 /engines
parent15784edb08c2977ff862551cee38cd6e38896e7d (diff)
downloadscummvm-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.cpp2
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);