# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1113620825 0 # Node ID 48f3e3d2d0f25ea496dd073e39b5cf5c039df993 # Parent 999aacd9ac84443fc46c56971b71bc6740887602 [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_string. diff -r 999aacd9ac84 -r 48f3e3d2d0f2 src/image.c --- a/src/image.c Sat Apr 16 03:05:43 2005 +0000 +++ b/src/image.c Sat Apr 16 03:07:05 2005 +0000 @@ -2423,7 +2423,7 @@ 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);