From a3f32381c48a3e83af30b78c0695f36588996450 Mon Sep 17 00:00:00 2001 From: ocornut Date: Tue, 19 Aug 2014 12:51:13 +0100 Subject: [PATCH] Fix mismatched static declaration warning --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index f660f272..5c6823e5 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -1574,7 +1574,7 @@ static void RenderCollapseTriangle(ImVec2 p_min, bool open, float scale = 1.0f, window->DrawList->AddTriangleFilled(a, b, c, window->Color(ImGuiCol_Border)); } -static ImVec2 CalcTextSize(const char* text, const char* text_end, const bool hide_text_after_hash) +ImVec2 CalcTextSize(const char* text, const char* text_end, const bool hide_text_after_hash) { ImGuiWindow* window = GetCurrentWindow();