From 436783535b4bcc1b67f60c74dc1aa0626aba869f Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Mon, 1 Jun 2015 00:05:50 -0400 Subject: [PATCH] Duped readable check should be exists --- src/util/GLFont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/GLFont.cpp b/src/util/GLFont.cpp index 9b1c0f9..c8c4b96 100644 --- a/src/util/GLFont.cpp +++ b/src/util/GLFont.cpp @@ -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; }