WerWolv / ImHex-Patterns

Hex patterns, include patterns and magic files for the use with the ImHex Hex Editor
https://github.com/WerWolv/ImHex
GNU General Public License v2.0
657 stars 173 forks source link

Correctly call builtin flush #246

Closed mandar1jn closed 5 months ago

mandar1jn commented 5 months ago

The std::file::flush function called the builtin remove function instead of the builtin flush function, meaning that any call to flush would actually delete the file

WerWolv commented 5 months ago

My god how did I not catch that. Thank you!