Internals: ImHashStr() default parameter.

This commit is contained in:
omar
2019-04-19 19:48:51 +02:00
parent 5078fa208b
commit 59f012d656
3 changed files with 11 additions and 11 deletions

View File

@ -6468,7 +6468,7 @@ static ImU32 ImGui::TabBarCalcTabID(ImGuiTabBar* tab_bar, const char* label)
{
if (tab_bar->Flags & ImGuiTabBarFlags_DockNode)
{
ImGuiID id = ImHashStr(label, 0);
ImGuiID id = ImHashStr(label);
KeepAliveID(id);
return id;
}