From 7c9066b49faed1a4f614a4f2a3f4f6462b377d25 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 17 Mar 2019 23:59:55 +0000 Subject: No reason why RISC OS ,type extensions should end up in the Amiga resources any more --- frontends/amiga/gui.c | 16 +--------------- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3