From 9ab69ab6f459b92e3283fac51b26326a3490f220 Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Wed, 27 Oct 2010 14:31:20 +0000 Subject: GROOVIE: Fix bug #3095031 (regression in Russian T7G). Additionally fixed some NEWS file punctuation. svn-id: r53874 --- engines/groovie/font.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines') diff --git a/engines/groovie/font.cpp b/engines/groovie/font.cpp index dc1d7ae73a..b9d6dbf687 100644 --- a/engines/groovie/font.cpp +++ b/engines/groovie/font.cpp @@ -62,6 +62,10 @@ bool T7GFont::load(Common::SeekableReadStream &stream) { delete[] _glyphs; _glyphs = new Glyph[numGlyphs]; + // Ensure we're ready to read the first glyph. (Most versions don't + // need it, but the russian one does. This fixes bug #3095031.) + stream.seek(glyphOffsets[0]); + // Read the glyphs _maxHeight = _maxWidth = 0; for (int i = 0; (i < numGlyphs) && !stream.eos(); i++) { -- cgit v1.2.3