kichikuou / xsystem35-sdl2

Multi-platform implementation of AliceSoft's System3.x game engine.
https://kichikuou.github.io/web/
GNU General Public License v2.0
63 stars 8 forks source link

Fix segfault when non-existent font specified #17

Closed nunuhara closed 4 years ago

nunuhara commented 4 years ago

This fixes a bug when using the sdl_ttf font backend and an invalid font path is specified on the command line or in a .xsys35rc file. Instead of crashing, it will now print a warning.

kichikuou commented 4 years ago

Thanks!