Преглед изворни кода

Fix mismatched static declaration warning

ocornut пре 11 година
родитељ
комит
a3f32381c4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      imgui.cpp

+ 1 - 1
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();