aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-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