mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-23 04:08:36 -05:00
Duped readable check should be exists
This commit is contained in:
parent
44e73839a8
commit
436783535b
@ -166,7 +166,7 @@ void GLFont::loadFont(std::string fontFile) {
|
|||||||
|
|
||||||
fontFileSource = fontFileName.GetFullPath(wxPATH_NATIVE).ToStdString();
|
fontFileSource = fontFileName.GetFullPath(wxPATH_NATIVE).ToStdString();
|
||||||
|
|
||||||
if (!fontFileName.IsFileReadable()) {
|
if (!fontFileName.FileExists()) {
|
||||||
std::cout << "Font file " << fontFileSource << " does not exist?" << std::endl;
|
std::cout << "Font file " << fontFileSource << " does not exist?" << std::endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user