summaryrefslogtreecommitdiff
path: root/tnslc/utils/file.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/utils/file.tnsl')
-rw-r--r--tnslc/utils/file.tnsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tnslc/utils/file.tnsl b/tnslc/utils/file.tnsl
index 22b11f1..1d8a1e9 100644
--- a/tnslc/utils/file.tnsl
+++ b/tnslc/utils/file.tnsl
@@ -98,8 +98,8 @@ struct File {
return
;/
- _fseek(self.handle, self.pos - 1)
self.pos = self.pos - 1
+ _fseek(self.handle, self.pos)
/; if (self.at_end == true)
self.at_end = false