From a5e700caf2a2f93ed6d39af407d67d8244a6b2a7 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sat, 16 Apr 2005 03:07:05 +0000 Subject: [PATCH] [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_string. --- src/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.c b/src/image.c index 0e48b1d2bcb..6a1fc7aa795 100644 --- a/src/image.c +++ b/src/image.c @@ -2423,7 +2423,7 @@ image_load_quartz2d (f, img, png_p) UNGCPRO; return 0; } - path = cfstring_create_with_utf8_cstring (SDATA (file)); + path = cfstring_create_with_string (file); url = CFURLCreateWithFileSystemPath (NULL, path, kCFURLPOSIXPathStyle, 0); CFRelease (path); -- 2.39.2