diff --git a/AssemblyVersion.cs b/AssemblyVersion.cs
index 03b8dd7..ea979c5 100644
--- a/AssemblyVersion.cs
+++ b/AssemblyVersion.cs
@@ -16,5 +16,5 @@ using System.Reflection;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("3.0.4.573")]
-[assembly: AssemblyFileVersion("3.0.4.573")]
\ No newline at end of file
+[assembly: AssemblyVersion("3.0.4.574")]
+[assembly: AssemblyFileVersion("3.0.4.574")]
\ No newline at end of file
diff --git a/Core/Settings.cs b/Core/Settings.cs
index b5618f8..6624791 100644
--- a/Core/Settings.cs
+++ b/Core/Settings.cs
@@ -850,9 +850,9 @@ namespace ScrewTurn.Wiki {
/// The namespace (null for the root).
/// The path of the theme.
public static string GetThemePath(string nspace) {
- string path = ThemesDirectoryName + "/" + GetTheme(nspace) + "/";
- if(!Directory.Exists(path)) return ThemesDirectoryName + "/Default/";
- else return path;
+ string theme = GetTheme(nspace);
+ if(!Directory.Exists(ThemesDirectory + theme)) return ThemesDirectoryName + "/Default/";
+ else return ThemesDirectoryName + "/" + theme + "/";
}
///