summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-21 02:51:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-21 02:51:19 +0300
commitd09b09bff620340464f2226e672c986dd85f085d (patch)
tree3c58524cdad1abc388a1b4b7be804d0c08e147a6 /src/gui
parentbc96a817248c7ab3a60a60dc15b8c21e6665a9e4 (diff)
downloadplus-d09b09bff620340464f2226e672c986dd85f085d.tar.gz
plus-d09b09bff620340464f2226e672c986dd85f085d.tar.bz2
plus-d09b09bff620340464f2226e672c986dd85f085d.tar.xz
plus-d09b09bff620340464f2226e672c986dd85f085d.zip
Dont report error about loading font if virtfs load failed.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/fonts/font.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/fonts/font.cpp b/src/gui/fonts/font.cpp
index 173a188c2..fc752c2eb 100644
--- a/src/gui/fonts/font.cpp
+++ b/src/gui/fonts/font.cpp
@@ -198,11 +198,6 @@ TTF_Font *Font::openFont(const char *const name,
name);
return TTF_OpenFontIndexRW(rw, 1, size, 0);
}
- else
- {
- reportAlways("Error: Loading virtfs font file: %s",
- name);
- }
#endif
const std::string path = VirtFs::getPath(name);
if (Files::existsLocal(path) == false)