From 655a1cb2278a8b6f89d22049a68d58d287b36efa Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 2 Jan 2009 00:52:01 +0000 Subject: Oops. (stupid c&p bug) svn-id: r35659 --- engines/gob/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3