summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp4
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)