From bcb83ed24e67194b4ee6fd770f795d2abe756a31 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 12 Aug 2015 12:29:51 -0600 Subject: [PATCH] Fixed minor typo in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98370132..c881c02b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Gallery ImGui can load TTF fonts. UTF-8 is supported for text display and input. Here using Arial Unicode font to display Japanese. Initialize custom font with: ``` ImGuiIO& io = ImGui::GetIO(); -io.Fonts->AddFontFromFileTTF("ArialUni.ttf", 18.0f, io.Fonts->GetGlyphRangesJapanese()); +io.Fonts->AddFontFromFileTTF("ArialUni.ttf", 18.0f, NULL, io.Fonts->GetGlyphRangesJapanese()); ``` For Microsoft IME, pass your HWND to enable IME positioning: ```