From ea85d37dff52ea0b05a04a001cf0b397832dd4b7 Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Thu, 27 Sep 2012 17:38:49 +0200 Subject: [PATCH] =?UTF-8?q?Use=20literal=20=E2=80=98=E2=87=A5=E2=80=99=20i?= =?UTF-8?q?nstead=20of=20=E2=80=98\u21E5=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/OakAppKit/src/NSMenuItem Additions.mm | 2 +- Frameworks/OakFilterList/src/datasources/OakBundleItemCell.mm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Frameworks/OakAppKit/src/NSMenuItem Additions.mm b/Frameworks/OakAppKit/src/NSMenuItem Additions.mm index 0e896bc7..645e10ea 100644 --- a/Frameworks/OakAppKit/src/NSMenuItem Additions.mm +++ b/Frameworks/OakAppKit/src/NSMenuItem Additions.mm @@ -168,7 +168,7 @@ NSFont* font = self.menu.font ?: [NSFont menuFontOfSize:0]; [attributedTitle appendTableCellWithString:self.title table:table textAlignment:NSLeftTextAlignment verticalAlignment:NSTextBlockMiddleAlignment font:font row:0 column:0]; - [attributedTitle appendTableCellWithString:[NSString stringWithCxxString:(" "+aTabTrigger+"\u21E5")] table:table textAlignment:NSRightTextAlignment + [attributedTitle appendTableCellWithString:[NSString stringWithCxxString:(" "+aTabTrigger+"⇥")] table:table textAlignment:NSRightTextAlignment verticalAlignment:font.pointSize >= 13 ? NSTextBlockBottomAlignment : NSTextBlockMiddleAlignment font:[NSFont menuBarFontOfSize:floor(font.pointSize * 0.85)] row:0 column:1]; NSString* plainTitle = self.title; diff --git a/Frameworks/OakFilterList/src/datasources/OakBundleItemCell.mm b/Frameworks/OakFilterList/src/datasources/OakBundleItemCell.mm index f8d2c5c1..d9f9c0b4 100644 --- a/Frameworks/OakFilterList/src/datasources/OakBundleItemCell.mm +++ b/Frameworks/OakFilterList/src/datasources/OakBundleItemCell.mm @@ -44,7 +44,7 @@ nil]; HighlightRangesWithAttribute(attrStr, FLMatchingTextAttributeName, highlightAttributes); - [attrStr appendAttributedString:[[[NSAttributedString alloc] initWithString:@"\u21E5" attributes:nil] autorelease]]; + [attrStr appendAttributedString:[[[NSAttributedString alloc] initWithString:@"⇥" attributes:nil] autorelease]]; CFTypeRef str = (CFAttributedStringRef)attrStr; HIThemeTextInfo textInfo = { kHIThemeTextInfoVersionZero, kThemeStateActive, kThemeSmallSystemFont, kHIThemeTextHorizontalFlushRight, kHIThemeTextVerticalFlushCenter, 0, kHIThemeTextTruncationNone, 1, 0 };