diff options
Diffstat (limited to 'frontends/riscos/gui.c')
-rw-r--r-- | frontends/riscos/gui.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/riscos/gui.c b/frontends/riscos/gui.c index 2b369ec8c..f55392f99 100644 --- a/frontends/riscos/gui.c +++ b/frontends/riscos/gui.c @@ -1513,7 +1513,9 @@ static nserror ro_nsurl_to_path(struct nsurl *url, char **path_out) return NSERROR_BAD_PARAMETER; } - res = url_unescape(lwc_string_data(urlpath), &unpath); + res = url_unescape(lwc_string_data(urlpath), + lwc_string_length(urlpath), + &unpath); lwc_string_unref(urlpath); if (res != NSERROR_OK) { return res; |