diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-18 21:51:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-18 21:51:16 +0300 |
commit | 266773f838c6c0c6f857a7a7fbcbbe8d6333f03b (patch) | |
tree | 5d9b5a74d0faf7c6fc1b253593cc856de11bbb3c /src/gui/theme.cpp | |
parent | 07fa80d2c125df1cb716e9535e15aa7cc03761fb (diff) | |
download | mv-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.tar.gz mv-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.tar.bz2 mv-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.tar.xz mv-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.zip |
Replace left direct physfs functions calls into physfs namespace functions.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index a22f682e6..76a5d0a94 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -570,9 +570,9 @@ void Theme::fillSkinsList(StringVect &list) void Theme::fillFontsList(StringVect &list) { - PHYSFS_permitSymbolicLinks(1); + PhysFs::permitLinks(true); Files::getFiles(branding.getStringValue("fontsPath"), list); - PHYSFS_permitSymbolicLinks(0); + PhysFs::permitLinks(false); } void Theme::fillSoundsList(StringVect &list) |