path: root/frontends/atari
diff options
authorMichael Drake <>2016-07-24 21:00:29 +0100
committerMichael Drake <>2016-07-25 09:04:35 +0100
commita122b94efde125202388d135e36eb86e6d25d093 (patch)
tree73e9d34dbc6c7443c727b8d85ba2c1127e4ed1c3 /frontends/atari
parent7bff70e7466dd80603922ba0dfdad1725cce41a6 (diff)
URL escape: Simplify to avoid unnecessary allocation.
This removes the toskip parameter, which was only used by the RISC OS front end. The toskip param was used to skip 8 characters which did not need to be escaped from the start of the URL. The RISC OS front end now orders the steps of its URL construction to avoid the need for this.
Diffstat (limited to 'frontends/atari')
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/atari/file.c b/frontends/atari/file.c
index 3816e476d..235d8240f 100644
--- a/frontends/atari/file.c
+++ b/frontends/atari/file.c
@@ -193,7 +193,7 @@ static nserror atari_path_to_nsurl(const char *path, struct nsurl **url_out)
/* escape the path so it can be placed in a url */
- ret = url_escape(path, 0, false, "/", &escpath);
+ ret = url_escape(path, false, "/", &escpath);
if (ret != NSERROR_OK) {
return ret;