aboutsummaryrefslogtreecommitdiff
path: root/src/files.cpp
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-05-06 15:55:37 +1200
committerDylan <boss@tehbox.org>2026-05-06 15:55:51 +1200
commit4d5d07beeef8ae4b7daf602bf66216ed8ff81442 (patch)
tree77decab5aedd2650e0678c3845a27c8e18ef8909 /src/files.cpp
parentd60976a70e68e1cd312b0e56fe6fbe6c7428cbaa (diff)
downloadtehimage-4d5d07beeef8ae4b7daf602bf66216ed8ff81442.tar.gz
tehimage-4d5d07beeef8ae4b7daf602bf66216ed8ff81442.zip
feat: Started on PNG writing implementation
Diffstat (limited to 'src/files.cpp')
-rw-r--r--src/files.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/files.cpp b/src/files.cpp
index 20f2672..c4c46a9 100644
--- a/src/files.cpp
+++ b/src/files.cpp
@@ -115,6 +115,7 @@ namespace TehImage
:fileEndianness(fileEndianness)
{
file = fopen(filename.c_str(), "w");
+ pos = 0;
ready = true;
}