linleyh / liberation-circuit

Trapped in a hostile computer system, you must make a way out - RTS/coding game
GNU General Public License v3.0
382 stars 39 forks source link

Fix inconsistent on-error behaviour in choose_template_file() #51

Closed suve closed 4 years ago

suve commented 4 years ago

In choose_template_file(), most error checks ended with goto check_error;. However, one check ended with a simple return 0;, which resulted in the file dialog not being destroyed properly.

linleyh commented 4 years ago

Thanks, that was definitely a mistake.