Skip to content

Commit 72a9e32

Browse files
committed
Fix guifontwide size
1 parent 837dff4 commit 72a9e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MacVim/MMCoreTextView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ - (void)setWideFont:(NSFont *)newFont
309309
[fontWide release];
310310

311311
// Use 'Apple Color Emoji' font for rendering emoji
312-
CGFloat size = [newFont pointSize];
312+
CGFloat size = [font pointSize];
313313
NSFontDescriptor *emojiDesc = [NSFontDescriptor
314314
fontDescriptorWithName:@"Apple Color Emoji" size:size];
315315
NSFontDescriptor *newFontDesc = [newFont fontDescriptor];

0 commit comments

Comments
 (0)