mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-09 04:50:11 +00:00
ImFont: Tweaking layout, shaving bit of alignment and simple hot/cot split
This commit is contained in:
parent
44fb99542f
commit
a20d69f9ce
2 changed files with 17 additions and 16 deletions
|
|
@ -1725,7 +1725,7 @@ const ImFont::Glyph* ImFont::FindGlyph(unsigned short c) const
|
|||
{
|
||||
const int i = IndexLookup[c];
|
||||
if (i != -1)
|
||||
return &Glyphs[i];
|
||||
return &Glyphs.Data[i];
|
||||
}
|
||||
return FallbackGlyph;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue