Duped readable check should be exists

This commit is contained in:
Charles J. Cliffe 2015-06-01 00:05:50 -04:00
parent 44e73839a8
commit 436783535b
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ void GLFont::loadFont(std::string fontFile) {
fontFileSource = fontFileName.GetFullPath(wxPATH_NATIVE).ToStdString();
if (!fontFileName.IsFileReadable()) {
if (!fontFileName.FileExists()) {
std::cout << "Font file " << fontFileSource << " does not exist?" << std::endl;
return;
}