aboutsummaryrefslogtreecommitdiff
path: root/gui/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/theme.cpp')
-rw-r--r--gui/theme.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/theme.cpp b/gui/theme.cpp
index 3e77919ba9..45fc047c45 100644
--- a/gui/theme.cpp
+++ b/gui/theme.cpp
@@ -43,7 +43,7 @@ const Graphics::Font *Theme::loadFont(const char *filename) {
return font;
#ifdef USE_ZLIB
- unzFile zipFile = unzOpen((getThemeFileName() + ".zip").c_str());
+ unzFile zipFile = unzOpen((getThemeFileName()).c_str());
if (zipFile && unzLocateFile(zipFile, cacheFilename.c_str(), 2) == UNZ_OK) {
unz_file_info fileInfo;
unzOpenCurrentFile(zipFile);
@@ -73,7 +73,7 @@ const Graphics::Font *Theme::loadFont(const char *filename) {
#ifdef USE_ZLIB
if (!font) {
- unzFile zipFile = unzOpen((getThemeFileName() + ".zip").c_str());
+ unzFile zipFile = unzOpen((getThemeFileName()).c_str());
if (zipFile && unzLocateFile(zipFile, filename, 2) == UNZ_OK) {
unz_file_info fileInfo;
unzOpenCurrentFile(zipFile);