diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-21 02:51:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-21 02:51:19 +0300 |
commit | d09b09bff620340464f2226e672c986dd85f085d (patch) | |
tree | 3c58524cdad1abc388a1b4b7be804d0c08e147a6 | |
parent | bc96a817248c7ab3a60a60dc15b8c21e6665a9e4 (diff) | |
download | manaverse-d09b09bff620340464f2226e672c986dd85f085d.tar.gz manaverse-d09b09bff620340464f2226e672c986dd85f085d.tar.bz2 manaverse-d09b09bff620340464f2226e672c986dd85f085d.tar.xz manaverse-d09b09bff620340464f2226e672c986dd85f085d.zip |
Dont report error about loading font if virtfs load failed.
-rw-r--r-- | src/gui/fonts/font.cpp | 5 |
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) |