From 57547f7b1eef1f0d6384993cc60a33733b177a9e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 28 Sep 2011 14:21:35 +0000 Subject: Make llcache_handle_get_url return a nsurl. svn path=/trunk/netsurf/; revision=12905 --- cocoa/apple_image.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') diff --git a/cocoa/apple_image.m b/cocoa/apple_image.m index dd2ed56de..f28ec25bf 100644 --- a/cocoa/apple_image.m +++ b/cocoa/apple_image.m @@ -175,7 +175,7 @@ bool apple_image_convert(struct content *c) c->height = [image pixelsHigh]; ai_c->bitmap = (void *)image; - NSString *url = [NSString stringWithUTF8String: llcache_handle_get_url( content_get_llcache_handle( c ) )]; + NSString *url = [NSString stringWithUTF8String: nsurl_access(llcache_handle_get_url( content_get_llcache_handle( c )) )]; NSString *title = [NSString stringWithFormat: @"%@ (%dx%d)", [url lastPathComponent], c->width, c->height]; content__set_title(c, [title UTF8String] ); -- cgit v1.2.3