search in current directory too

This commit is contained in:
David Rose 2002-02-21 01:34:19 +00:00
parent 3978b8ecef
commit ab35f28160

View File

@ -73,7 +73,8 @@ DynamicTextFont(const Filename &font_filename, int face_index) {
}
Filename path(font_filename);
if (!path.resolve_filename(get_model_path())) {
path.resolve_filename(get_model_path());
if (!path.exists()) {
text_cat.error()
<< "Unable to find font file " << font_filename << "\n";
} else {