changeset 61576:48f3e3d2d0f2

[MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_string.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Sat, 16 Apr 2005 03:07:05 +0000
parents 999aacd9ac84
children 9b7b62fc3d45
files src/image.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);