Skip to content

Commit

Permalink
fixed incomplete replacement of unsigned short with ImWchar in interf…
Browse files Browse the repository at this point in the history
…ace of ImFont::FindGlyph
  • Loading branch information
jawilkins committed Mar 17, 2017
1 parent b4fc709 commit f94f112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui_draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,7 @@ void ImFont::AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst)
IndexXAdvance[dst] = (src < index_size) ? IndexXAdvance.Data[src] : 1.0f;
}

const ImFont::Glyph* ImFont::FindGlyph(ImWchar short c) const
const ImFont::Glyph* ImFont::FindGlyph(ImWchar c) const
{
if (c < IndexLookup.Size)
{
Expand Down

0 comments on commit f94f112

Please sign in to comment.