mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-26 16:29:36 +03:00
Search user data dir first for resources
svn path=/trunk/netsurf/; revision=13779
This commit is contained in:
parent
e30905be75
commit
e8d90a532a
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user