aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c
index 4ab672ca58e..d1925cf36e4 100644
--- a/src/image.c
+++ b/src/image.c
@@ -2416,8 +2416,7 @@ image_load_quartz2d (f, img, png_p)
2416 UNGCPRO; 2416 UNGCPRO;
2417 return 0; 2417 return 0;
2418 } 2418 }
2419 path = CFStringCreateWithCString (NULL, SDATA (file), 2419 path = cfstring_create_with_utf8_cstring (SDATA (file));
2420 kCFStringEncodingUTF8);
2421 url = CFURLCreateWithFileSystemPath (NULL, path, 2420 url = CFURLCreateWithFileSystemPath (NULL, path,
2422 kCFURLPOSIXPathStyle, 0); 2421 kCFURLPOSIXPathStyle, 0);
2423 CFRelease (path); 2422 CFRelease (path);