Error out when fonts are missing

svn-id: r6190
This commit is contained in:
James Brown 2002-12-27 03:56:34 +00:00
parent cfa87ea12d
commit 29f0d9af8e

View File

@ -90,7 +90,7 @@ bool NutRenderer::loadFont(const char *filename, const char *dir) {
File file;
file.open(filename, dir);
if (file.isOpen() == false) {
debug(2, "NutRenderer::loadFont() Can't open font file: %s", filename);
error("NutRenderer::loadFont() Can't open font file: %s/%s", dir, filename);
return false;
}