summaryrefslogtreecommitdiff
path: root/riscos/theme_install.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2006-01-08 01:51:33 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2006-01-08 01:51:33 +0000
commit745deb7a9d4bf26a6339a297c3c06bb12f5cc102 (patch)
tree21fce77c94096ea7a9297a67edde9857492338d4 /riscos/theme_install.c
parent5eb7692b8ff2a0b226fa56ee4bb3c2d8f8e98044 (diff)
downloadnetsurf-745deb7a9d4bf26a6339a297c3c06bb12f5cc102.tar.gz
netsurf-745deb7a9d4bf26a6339a297c3c06bb12f5cc102.tar.bz2
[project @ 2006-01-08 01:51:33 by jmb]
Make data file locations user-configurable (no UI for this as yet) Reduce intrusiveness of ncos modifications Fix GTK build Remove Cookies file details from Messages (this data never belonged in there anyway) Make gui_init more robust against memory exhaustion. svn path=/import/netsurf/; revision=2014
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);