aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/dbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/dbase.cpp b/engines/gob/dbase.cpp
index ce6c748663..3aee136187 100644
--- a/engines/gob/dbase.cpp
+++ b/engines/gob/dbase.cpp
@@ -68,7 +68,7 @@ bool dBase::load(Common::SeekableReadStream &stream) {
while (!stream.eos() && !stream.err() && (stream.readByte() != 0x0D)) {
Field field;
- stream.skip(-1);
+ stream.seek(-1, SEEK_CUR);
field.name = readString(stream, 11);
field.type = (Type) stream.readByte();