diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 958cdbe..6147103 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -2183,7 +2183,7 @@ 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) {