Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Pass file to be closed

Michał Janiszewski9eefd2081024
diff --git a/toonz/sources/common/tsystem/tfilepath_io.cpp b/toonz/sources/common/tsystem/tfilepath_io.cpp
index 6ff1faacb..74b4fa214 100644
--- a/toonz/sources/common/tsystem/tfilepath_io.cpp
+++ b/toonz/sources/common/tsystem/tfilepath_io.cpp
@@ -91,7 +91,7 @@ sperando che sia il nome del file => compila ma non funziona
Tifstream::~Tifstream() {
#ifndef MACOSX
- fclose();
+ fclose(m_file);
#endif
}