summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-03-30 19:28:37 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-03-30 19:28:37 +0000
commite8d90a532a313ba02146614d7ec7cce2ce97ab3f (patch)
tree96c8ee2948013d1db84176dcc720a0f71bdc650f /amiga
parente30905be7505fc4ba7f01d496b59d56a6411431a (diff)
downloadnetsurf-e8d90a532a313ba02146614d7ec7cce2ce97ab3f.tar.gz
netsurf-e8d90a532a313ba02146614d7ec7cce2ce97ab3f.tar.bz2
Search user data dir first for resources
svn path=/trunk/netsurf/; revision=13779
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index e5d4fbe5f..edf7cbaac 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -291,7 +291,13 @@ bool ami_locate_resource(char *fullpath, const char *file)
bool found = false;
char *remapped;
- /* Firstly check the user's selected theme. NB: ami_locate_resource()
+ /* Check NetSurf user data area first */
+
+ strcpy(fullpath, current_user_dir);
+ found = ami_gui_check_resource(fullpath, file);
+ if(found) return true;
+
+ /* Secondly check the user's selected theme. NB: ami_locate_resource()
* gets called for Messages before options are loaded */
if(nsoption_charp(theme))