diff options
author | Vicent Marti | 2008-08-15 11:05:25 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-15 11:05:25 +0000 |
commit | 1b0c29cb015e00d26db44391f994867f15d26f53 (patch) | |
tree | 1a2a386500f556c7e0b0eed46efe84c580881724 /gui/themes/scummtheme.py | |
parent | 8e60e6c558be96286ad8df3502c69060f9db117c (diff) | |
download | scummvm-rg350-1b0c29cb015e00d26db44391f994867f15d26f53.tar.gz scummvm-rg350-1b0c29cb015e00d26db44391f994867f15d26f53.tar.bz2 scummvm-rg350-1b0c29cb015e00d26db44391f994867f15d26f53.zip |
Added popup widget in Options menu to change GUI renderer on the fly.
svn-id: r33898
Diffstat (limited to 'gui/themes/scummtheme.py')
-rw-r--r-- | gui/themes/scummtheme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/themes/scummtheme.py b/gui/themes/scummtheme.py index 202372cfea..da0b88cf61 100644 --- a/gui/themes/scummtheme.py +++ b/gui/themes/scummtheme.py @@ -6,7 +6,7 @@ import os import zipfile def buildTheme(themeName): - if not os.path.isdir(themeName): + if not os.path.isdir(themeName) or not os.path.isfile(os.path.join(themeName, "THEMERC")): print "Invalid theme name: " + themeName return |