Skip to content

Commit 9d566fc

Browse files
committed
Merge pull request #132 from macvim-dev/fix/guifontwide_size
Fix guifontwide size
2 parents 837dff4 + 72a9e32 commit 9d566fc

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)