changeset 2190:4cb258fb6729

Mac: Fix overlooked change in the NSCell code.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 15 Oct 2020 04:45:11 +0000
parents a5d58393f7d0
children 7331f3c13fd7
files mac/dw.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Thu Oct 15 04:39:18 2020 +0000
+++ b/mac/dw.m	Thu Oct 15 04:45:11 2020 +0000
@@ -7831,7 +7831,7 @@
 #else
     DWImageAndTextCell *browsercell = [[[DWImageAndTextCell alloc] init] autorelease];
     [browsercell setImage:icon];
-    [browsercell setStringValue:[NSString stringWithUTF8String:filename]];
+    [browsercell setStringValue:text];
     [cont editCell:browsercell at:(row+lastadd) and:0];
 #endif
     [cont setNeedsDisplay:YES];