mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-24 19:05:20 +02:00
If font fails to open, log path tried
This commit is contained in:
parent
b138b87fdc
commit
9cfbc56bfa
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user