mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:27:40 +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
|
@ -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…
Add table
Add a link
Reference in a new issue