summaryrefslogtreecommitdiff
path: root/riscos/theme_install.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/theme_install.c')
-rw-r--r--riscos/theme_install.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/riscos/theme_install.c b/riscos/theme_install.c
index 37ad83ff7..22b722aea 100644
--- a/riscos/theme_install.c
+++ b/riscos/theme_install.c
@@ -172,8 +172,8 @@ bool ro_gui_theme_install_apply(wimp_w w)
}
/* simply overwrite previous theme versions */
- snprintf(theme_save, sizeof theme_save, "%s%s.%s",
- THEME_PATH_W, THEME_LEAFNAME, theme_file);
+ snprintf(theme_save, sizeof theme_save, "%s.%s",
+ option_theme_save, theme_file);
theme_save[sizeof theme_save - 1] = '\0';
error = xosfile_save_stamped(theme_save, 0xffd,
@@ -187,7 +187,7 @@ bool ro_gui_theme_install_apply(wimp_w w)
free(theme_file);
return false;
}
-
+
/* apply the new theme */
ro_gui_theme_get_available();
theme_install = ro_gui_theme_find(theme_file);