SEEK_SET only

This commit is contained in:
Glenn Maynard
2003-12-04 04:34:45 +00:00
parent 761cb4e257
commit 24fd4d243c
+1 -1
View File
@@ -49,7 +49,7 @@ public:
void ClearError() { clearerr(mFP); }
long Tell() { return ftell(mFP); }
bool Seek(long offset, int origin = SEEK_CUR) { return !fseek(mFP, offset, origin); }
bool Seek(long offset) { return !fseek(mFP, offset, SEEK_SET); }
void Rewind() { rewind(mFP); }
/* Raw I/O: */