From: YAMAMOTO Mitsuharu Date: Sat, 16 Apr 2005 03:07:05 +0000 (+0000) Subject: [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_string. X-Git-Tag: ttn-vms-21-2-B4~968 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a5e700caf2a2f93ed6d39af407d67d8244a6b2a7;p=emacs.git [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_string. --- 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);