From 1bb7d295bb6c59c0a21b0eedf69f939ebd2a7ed9 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 25 Oct 2015 09:03:20 +0000 Subject: Make nsurl utf8 string conversion function consistent with nsurl API. --- render/html_interaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render') diff --git a/render/html_interaction.c b/render/html_interaction.c index 1b2e5b9c9..361278cbf 100644 --- a/render/html_interaction.c +++ b/render/html_interaction.c @@ -817,7 +817,7 @@ void html_mouse_action(struct content *c, struct browser_window *bw, } } else if (url) { if (nsoption_bool(display_decoded_idn) == true) { - if (nsurl_access_utf8(url, &url_s, &url_l) != NSERROR_OK) { + if (nsurl_get_utf8(url, &url_s, &url_l) != NSERROR_OK) { /* Unable to obtain a decoded IDN. This is not a fatal error. * Ensure the string pointer is NULL so we use the encoded version. */ url_s = NULL; -- cgit v1.2.3