aboutsummaryrefslogtreecommitdiff
path: root/common/savefile.cpp
diff options
context:
space:
mode:
authorMax Horn2005-05-08 23:45:17 +0000
committerMax Horn2005-05-08 23:45:17 +0000
commit20c8944189941dbf0286afc28b361f7bb4e09e74 (patch)
treeeaf541bbdaec0cc1ff3842280083f894e3fe06bf /common/savefile.cpp
parent74aed6382b4bab2b8bfa2c9ae41a08eaac082cae (diff)
downloadscummvm-rg350-20c8944189941dbf0286afc28b361f7bb4e09e74.tar.gz
scummvm-rg350-20c8944189941dbf0286afc28b361f7bb4e09e74.tar.bz2
scummvm-rg350-20c8944189941dbf0286afc28b361f7bb4e09e74.zip
Silly copy & paste error :-)
svn-id: r17981
Diffstat (limited to 'common/savefile.cpp')
-rw-r--r--common/savefile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/savefile.cpp b/common/savefile.cpp
index 5a8158799d..993dd104db 100644
--- a/common/savefile.cpp
+++ b/common/savefile.cpp
@@ -88,7 +88,7 @@ public:
}
void skip(uint32 offset) {
- ::fseek(fh, offset, SEEK_SET);
+ ::fseek(fh, offset, SEEK_CUR);
}
};
@@ -135,7 +135,7 @@ public:
}
void skip(uint32 offset) {
- ::gzseek(fh, offset, SEEK_SET);
+ ::gzseek(fh, offset, SEEK_CUR);
}
};
#endif