mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Tiny fix for bug found by valgrind.
Make sure nominal gets always set for a glyph.
This commit is contained in:
parent
712e7a4e15
commit
caa58cf72b
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-02-05 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Make
|
||||
sure nominal gets always set.
|
||||
|
||||
2018-02-04 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSAlert.m (NSBeginAlertSheet): Move closing the sheet from
|
||||
|
|
|
@ -250,6 +250,7 @@ the last time or not, we wouldn't need to clear the cache every time */
|
|||
|
||||
g->dont_show = NO;
|
||||
g->outside_line_frag = NO;
|
||||
g->nominal = YES;
|
||||
|
||||
// FIXME: This assumes the layout manager implements this GNUstep extension
|
||||
g->size = [curLayoutManager advancementForGlyphAtIndex: cache_base + cache_length];
|
||||
|
|
Loading…
Reference in a new issue