diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:51:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:52:16 +0300 |
commit | 3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch) | |
tree | 80a4303b29aafa21683e90e45798283a482bf1d1 /src/gui/theme.cpp | |
parent | 7f607a0f58a9eba53237955c06bf445c71d57b6c (diff) | |
download | manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2 manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip |
Replace vectors with strings to short names.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 6 |
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()); |