mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
If font fails to open, log path tried
This commit is contained in:
@@ -34,7 +34,7 @@ Font::Font(const std::string &path, unsigned int size)
|
||||
|
||||
font = TTF_OpenFont(path.c_str(), size);
|
||||
if (!font) {
|
||||
ERROR("Unable to open font\n");
|
||||
ERROR("Unable to open font '%s'\n", TTF_FONT);
|
||||
TTF_Quit();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user