fixed incomplete replacement of unsigned short with ImWchar in interface of ImFont::FindGlyph

This commit is contained in:
Jason Wilkins 2017-03-16 21:55:16 -05:00 committed by omar
parent 9886b09a0a
commit 022f8c2342

View File

@ -2183,7 +2183,7 @@ void ImFont::AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst)
IndexAdvanceX[dst] = (src < index_size) ? IndexAdvanceX.Data[src] : 1.0f;
}
const ImFontGlyph* ImFont::FindGlyph(unsigned short c) const
const ImFontGlyph* ImFont::FindGlyph(ImWchar c) const
{
if (c < IndexLookup.Size)
{