mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-08 00:44:56 -04:00
Duped readable check should be exists
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user