diff options
| author | YAMAMOTO Mitsuharu | 2005-04-16 03:07:05 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-04-16 03:07:05 +0000 |
| commit | a5e700caf2a2f93ed6d39af407d67d8244a6b2a7 (patch) | |
| tree | 709f73a453598397f432027e6bef1bf888bda67e | |
| parent | 35e8e78731bbd055f028cbf643fe7713440a3912 (diff) | |
| download | emacs-a5e700caf2a2f93ed6d39af407d67d8244a6b2a7.tar.gz emacs-a5e700caf2a2f93ed6d39af407d67d8244a6b2a7.zip | |
[MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_string.
| -rw-r--r-- | src/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 2423 | UNGCPRO; | 2423 | UNGCPRO; |
| 2424 | return 0; | 2424 | return 0; |
| 2425 | } | 2425 | } |
| 2426 | path = cfstring_create_with_utf8_cstring (SDATA (file)); | 2426 | path = cfstring_create_with_string (file); |
| 2427 | url = CFURLCreateWithFileSystemPath (NULL, path, | 2427 | url = CFURLCreateWithFileSystemPath (NULL, path, |
| 2428 | kCFURLPOSIXPathStyle, 0); | 2428 | kCFURLPOSIXPathStyle, 0); |
| 2429 | CFRelease (path); | 2429 | CFRelease (path); |