1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-24 21:34:03 +02:00

If font fails to open, log path tried

This commit is contained in:
Maarten ter Huurne 2015-04-21 18:28:37 +02:00
parent b138b87fdc
commit 9cfbc56bfa

View File

@ -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;
}