We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3c895b commit a04e5f0Copy full SHA for a04e5f0
src/filesystem/files.rs
@@ -252,7 +252,7 @@ impl FileInfo {
252
pub fn seek_from_end(&mut self, offset: u32) -> Result<(), FileError> {
253
if offset <= self.entry.size {
254
self.current_offset = self.entry.size - offset;
255
- if offset < self.current_cluster.0 {
+ if self.current_offset < self.current_cluster.0 {
256
// Back to start
257
self.current_cluster = (0, self.entry.cluster);
258
}
0 commit comments