Skip to content

Commit dbb801f

Browse files
authored
Merge pull request #563 from macvim-dev/fix/547
backingStore should be an NSTextStorage instance
2 parents 9c391d1 + 8802381 commit dbb801f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MacVim/MMTextStorage.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ - (void)lazyResize:(BOOL)force
991991
attributes:dict];
992992

993993
[backingStore release];
994-
backingStore = [[NSMutableAttributedString alloc] init];
994+
backingStore = [[NSTextStorage alloc] init];
995995
for (i=0; i<maxRows; ++i) {
996996
#if MM_USE_ROW_CACHE
997997
rowCache[i].length = actualColumns + 1;

0 commit comments

Comments
 (0)