Minor file I/O tweaks

This commit is contained in:
Jack Andersen 2015-11-12 16:10:50 -10:00
parent bedcf128ac
commit b6b54d0921
2 changed files with 4 additions and 4 deletions

View File

@ -59,8 +59,8 @@ void FileReader::open()
return;
}
// ensure we're at the beginning of the file
rewind(m_fileHandle);
// reset error
m_hasError = false;
}
void FileReader::close()

View File

@ -70,8 +70,8 @@ void FileWriter::open(bool overwrite)
return;
}
// ensure we're at the beginning of the file
rewind(m_fileHandle);
// reset error
m_hasError = false;
}
void FileWriter::close()