summaryrefslogtreecommitdiff
path: root/src/gui/fonts
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-14 22:41:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-14 22:41:07 +0300
commit56d6454ba617d1dcddbbaa21e2066a7db0caee75 (patch)
tree5012e55f393db2d62b40eb64142fa4317b16c571 /src/gui/fonts
parentbdec92381ef60cd027292ed63e254e8de70028d9 (diff)
downloadmv-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.gz
mv-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.bz2
mv-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.xz
mv-56d6454ba617d1dcddbbaa21e2066a7db0caee75.zip
Move some virtfs replated functions from files.cpp into virtfstools.cpp
Diffstat (limited to 'src/gui/fonts')
-rw-r--r--src/gui/fonts/font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/fonts/font.cpp b/src/gui/fonts/font.cpp
index 73b91ad4c..61bb93453 100644
--- a/src/gui/fonts/font.cpp
+++ b/src/gui/fonts/font.cpp
@@ -75,11 +75,11 @@
#include "resources/image/image.h"
#include "utils/delete2.h"
-#include "utils/files.h"
#include "utils/paths.h"
#include "utils/sdlcheckutils.h"
#include "utils/stringutils.h"
#include "utils/timer.h"
+#include "utils/virtfstools.h"
#include "debug.h"
@@ -162,7 +162,7 @@ TTF_Font *Font::openFont(const char *const name, const int size)
// return nullptr;
// return TTF_OpenFontIndexRW(rw, 1, size, 0);
// #else
- return TTF_OpenFontIndex(Files::getPath(name).c_str(),
+ return TTF_OpenFontIndex(VirtFs::getPath(name).c_str(),
size, 0);
// #endif
}