diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugin-luaiup.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin-luaiup.cc b/src/plugin-luaiup.cc index c7cf128..4b2322d 100644 --- a/src/plugin-luaiup.cc +++ b/src/plugin-luaiup.cc @@ -37,7 +37,7 @@ class imBinFileHandle : public imBinFileBase { virtual int HasError() const { return 0; } virtual void SeekTo(unsigned long pOffset) { h->seek(pOffset, SEEK_SET); } virtual void SeekOffset(long pOffset) { h->seek(pOffset, SEEK_CUR); } - virtual void SeekFrom(long pOffset) { h->seek(pOffset, SEEK_SET); } + virtual void SeekFrom(long pOffset) { h->seek(pOffset, SEEK_END); } virtual unsigned long Tell() const { return h->tell(); } virtual int EndOfFile() const { return h->tell() == h->GetSize(); } protected: |