Fix mismatched static declaration warning

This commit is contained in:
ocornut 2014-08-19 12:51:13 +01:00
parent 67f17a644c
commit a3f32381c4

View File

@ -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)); 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(); ImGuiWindow* window = GetCurrentWindow();