From 022f8c2342610d92c9477c0ed18ec3c6bb861cd3 Mon Sep 17 00:00:00 2001 From: Jason Wilkins Date: Thu, 16 Mar 2017 21:55:16 -0500 Subject: [PATCH] fixed incomplete replacement of unsigned short with ImWchar in interface of ImFont::FindGlyph --- imgui_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 958cdbe84..6147103cf 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -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) {