mirror of
https://github.com/godotengine/godot.git
synced 2026-02-14 14:45:56 +00:00
unzReadCurrentFile(3) returns number of bytes read, so the current code only processes the file if no bytes were read (UNZ_OK is a #define equal to 0). I've altered the break to occur only on unsuccessful read, (when unzReadCurrentFile(3) returns less than zero), and added an error message for when an unsuccessful read occurs.
95 KiB
95 KiB