tophat2d / tophat

:tophat: a 2d game library for Umka
https://tophat2d.dev
BSD 3-Clause "New" or "Revised" License
73 stars 5 forks source link

Error message on `exit(0)` #179

Closed vtereshkov closed 7 months ago

vtereshkov commented 7 months ago

You're checking for error->msg instead of error->msg[0] to decide if you need to print the stack trace. exit(0) looks like an error.

skejeton commented 7 months ago

Now it outputs if there's a message and if the code is nonzero.

vtereshkov commented 7 months ago

Verified and closed.