Fixed GCC warning.:

This commit is contained in:
Бранимир Караџић 2020-09-01 20:21:58 -07:00
parent 2480ea3dbe
commit 4d4ef74fe6
1 changed files with 1 additions and 3 deletions

View File

@ -150,9 +150,7 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText)
}
else if (ImGui::IsItemHovered() )
{
char tmp[1024];
bx::snprintf(tmp, BX_COUNTOF(tmp), "Documentation: %.*s", url.getLength(), url.getPtr() );
ImGui::SetTooltip(tmp);
ImGui::SetTooltip("Documentation: %.*s", url.getLength(), url.getPtr() );
}
}