mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-12 00:14:20 +00:00
Version 1.77
+ fix minor clang-tidy warnings which seems reasonable
This commit is contained in:
parent
122febcdbf
commit
9418dcb693
9 changed files with 34 additions and 30 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// dear imgui, v1.77 WIP
|
||||
// dear imgui, v1.77
|
||||
// (main code and documentation)
|
||||
|
||||
// Help:
|
||||
|
|
@ -10382,6 +10382,7 @@ void ImGui::ShowMetricsWindow(bool* p_open)
|
|||
char* p = buf;
|
||||
const char* buf_end = buf + IM_ARRAYSIZE(buf);
|
||||
p += ImFormatString(p, buf_end - p, "TabBar (%d tabs)%s", tab_bar->Tabs.Size, (tab_bar->PrevFrameVisible < ImGui::GetFrameCount() - 2) ? " *Inactive*" : "");
|
||||
IM_UNUSED(p);
|
||||
if (ImGui::TreeNode(tab_bar, "%s", buf))
|
||||
{
|
||||
for (int tab_n = 0; tab_n < tab_bar->Tabs.Size; tab_n++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue