mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
* Source/NSStringDrawing.m: Initialize all the cache entries as
not used.
This commit is contained in:
parent
ec0e80eaee
commit
8162d07536
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2020-05-09 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSStringDrawing.m: Initialize all the cache entries as
|
||||
not used.
|
||||
|
||||
2020-05-09 Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/NSPersistentDocument.[hm]: Add implementation of abstract
|
||||
|
|
|
@ -126,7 +126,8 @@ static void init_string_drawing(void)
|
|||
[textContainer setLineFragmentPadding: 0];
|
||||
[layoutManager addTextContainer: textContainer];
|
||||
[textContainer release];
|
||||
|
||||
|
||||
cache[i].used = 0;
|
||||
cache[i].textStorage = textStorage;
|
||||
cache[i].layoutManager = layoutManager;
|
||||
cache[i].textContainer = textContainer;
|
||||
|
|
Loading…
Reference in a new issue