]> git.eshelyaron.com Git - emacs.git/commitdiff
[MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_string.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 16 Apr 2005 03:07:05 +0000 (03:07 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 16 Apr 2005 03:07:05 +0000 (03:07 +0000)
src/image.c

index 0e48b1d2bcb8311743f5bc7c9e1addb6056a3bd9..6a1fc7aa795392a9661b0200b4fe20213f642ba8 100644 (file)
@@ -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);