summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXBitmap.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-11-04 21:07:04 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-11-04 21:07:04 (GMT)
commitd3aef6a5a334215a157140af8d8a48edec8db00a (patch)
treea89c9cabbf3db776a4de328185e6b438da1fe9a1 /macosx/tkMacOSXBitmap.c
parent3dd242b0aab750b1720f6f10b110710e49ecfd34 (diff)
downloadtk-d3aef6a5a334215a157140af8d8a48edec8db00a.zip
tk-d3aef6a5a334215a157140af8d8a48edec8db00a.tar.gz
tk-d3aef6a5a334215a157140af8d8a48edec8db00a.tar.bz2
Fix [2fec274fe3]: OS X - menu-2.8[0134] triggers CFURLCopyResourcePropertyForKey failed
Diffstat (limited to 'macosx/tkMacOSXBitmap.c')
-rw-r--r--macosx/tkMacOSXBitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXBitmap.c b/macosx/tkMacOSXBitmap.c
index 6e3c1a5..1a20bd5 100644
--- a/macosx/tkMacOSXBitmap.c
+++ b/macosx/tkMacOSXBitmap.c
@@ -298,7 +298,7 @@ TkpGetNativeAppBitmap(
string = [NSString stringWithUTF8String:name];
image = [NSImage imageNamed:string];
if (!image) {
- NSURL *url = [NSURL URLWithString:string];
+ NSURL *url = [NSURL fileURLWithPath:string];
if (url) {
image = [[[NSImage alloc] initWithContentsOfURL:url]
autorelease];