diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-03-18 00:00:50 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-03-18 00:00:50 +0000 |
commit | 3a8484c0b706cf439eb91545774734a4a755bb7c (patch) | |
tree | d97f58a126c2ccfee4578aa1aeae9cdb7133cc8e | |
parent | bd0a1533a52f5049680d67006dad6d9477b2a4be (diff) | |
parent | 7c9066b49faed1a4f614a4f2a3f4f6462b377d25 (diff) | |
download | netsurf-3a8484c0b706cf439eb91545774734a4a755bb7c.tar.gz |
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/amissl
-rw-r--r-- | frontends/amiga/gui.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c index cc4397ede..2c84d4d7a 100644 --- a/frontends/amiga/gui.c +++ b/frontends/amiga/gui.c @@ -787,21 +787,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); |