From c22af8c346e9d7527ef0f5edf89ba2b56e47f0a9 Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 7 Aug 2025 16:19:07 +0200 Subject: [PATCH] Fonts: fixes comment (amend d8da97f7). --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index d2b600595..e3c89879f 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -8838,7 +8838,7 @@ void ImGui::UpdateCurrentFontSize(float restore_font_size_after_scaling) g.Style.FontSizeBase = g.FontSizeBase; // Early out to avoid hidden window keeping bakes referenced and out of GC reach. - // However this would leave a pretty subtle and damning error surface area if g.FontBaked was mismatching, so for now we null it. + // However this would leave a pretty subtle and damning error surface area if g.FontBaked was mismatching. // FIXME: perhaps g.FontSize should be updated? if (window != NULL && window->SkipItems) {