diff options
author | Jordi Vilalta Prat | 2010-10-27 14:31:20 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2010-10-27 14:31:20 +0000 |
commit | 9ab69ab6f459b92e3283fac51b26326a3490f220 (patch) | |
tree | fd0d940e41a6326d01f46c7e612d99f99aacbd53 /engines | |
parent | 13b6e0d69a041a4598b12cd92fbf2c00a347b932 (diff) | |
download | scummvm-rg350-9ab69ab6f459b92e3283fac51b26326a3490f220.tar.gz scummvm-rg350-9ab69ab6f459b92e3283fac51b26326a3490f220.tar.bz2 scummvm-rg350-9ab69ab6f459b92e3283fac51b26326a3490f220.zip |
GROOVIE: Fix bug #3095031 (regression in Russian T7G).
Additionally fixed some NEWS file punctuation.
svn-id: r53874
Diffstat (limited to 'engines')
-rw-r--r-- | engines/groovie/font.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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++) { |