summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-03-17 23:59:55 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-03-17 23:59:55 +0000
commit7c9066b49faed1a4f614a4f2a3f4f6462b377d25 (patch)
tree4e4637a46ce1ff91566a297cca3b8be257c59dc6
parentd0a9fc3e35113e8734d10338856a43599f98d50c (diff)
downloadnetsurf-master.tar.gz
netsurf-master.tar.bz2
No reason why RISC OS ,type extensions should end up in the Amiga resources any moreHEADmaster
-rw-r--r--frontends/amiga/gui.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index 43dd35182..ae9945066 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -781,21 +781,7 @@ static nsurl *gui_get_resource_url(const char *path)
nsurl *url = NULL;
if(ami_locate_resource(buf, path) == false)
- {
- if((strncmp(path + strlen(path) - SLEN(".htm"), ".htm", SLEN(".htm")) == 0) ||
- (strncmp(path + strlen(path) - SLEN(".html"), ".html", SLEN(".html")) == 0))
- {
- /* Try with RISC OS HTML filetype, might work */
- strcpy(path2, path);
- strcat(path2, ",faf");
-
- if(ami_locate_resource(buf, path2) == false)
- {
- return NULL;
- }
- }
- else return NULL;
- }
+ return NULL;
netsurf_path_to_nsurl(buf, &url);