summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 03:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 03:52:16 +0300
commit3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch)
tree80a4303b29aafa21683e90e45798283a482bf1d1 /src/gui/theme.cpp
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadmanaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 3a09810d0..dad553e81 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -533,7 +533,7 @@ bool Theme::tryThemePath(std::string themeName)
return false;
}
-void Theme::fillSkinsList(std::vector<std::string> &list)
+void Theme::fillSkinsList(StringVect &list)
{
char **skins = PHYSFS_enumerateFiles(
branding.getStringValue("guiThemePath").c_str());
@@ -550,7 +550,7 @@ void Theme::fillSkinsList(std::vector<std::string> &list)
PHYSFS_freeList(skins);
}
-void Theme::fillFontsList(std::vector<std::string> &list)
+void Theme::fillFontsList(StringVect &list)
{
PHYSFS_permitSymbolicLinks(1);
char **fonts = PHYSFS_enumerateFiles(
@@ -569,7 +569,7 @@ void Theme::fillFontsList(std::vector<std::string> &list)
PHYSFS_permitSymbolicLinks(0);
}
-void Theme::fillSoundsList(std::vector<std::string> &list)
+void Theme::fillSoundsList(StringVect &list)
{
char **skins = PHYSFS_enumerateFiles(
branding.getStringValue("systemsounds").c_str());