]> git.lizzy.rs Git - minetest.git/commit
Fix issue Minetest crash when custom font path is not exist
authorMuhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
Sat, 3 Jun 2017 02:51:48 +0000 (09:51 +0700)
committersfan5 <sfan5@live.de>
Wed, 8 Nov 2017 15:14:00 +0000 (16:14 +0100)
commit9526c686997285700f500b975a9d971c3ca0a188
tree8c087577df526307b09982315dfac6d7e2fc40ee
parentd693f95fc3c9b2d487283fc16dc8988c61a94803
Fix issue Minetest crash when custom font path is not exist

We try to use default fallback for both mono and main font when custom font path is not exist. This way, if Minetest is not corrupted, we could avoid crash.
src/fontengine.cpp
src/settings.cpp
src/settings.h