mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Use proper format strings.
This commit is contained in:
parent
d201be25ed
commit
a4e1bb05f3
@ -3751,9 +3751,9 @@ void View::DrawFindZone()
|
|||||||
|
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
|
|
||||||
ImGui::Text( TimeToString( ev->start - m_worker.GetFrameBegin( 0 ) ) );
|
ImGui::Text( "%s", TimeToString( ev->start - m_worker.GetFrameBegin( 0 ) ) );
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
ImGui::Text( TimeToString( timespan ) );
|
ImGui::Text( "%s", TimeToString( timespan ) );
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
|
|
||||||
ImGui::PopID();
|
ImGui::PopID();
|
||||||
@ -3978,7 +3978,7 @@ void View::ListMemData( T ptr, T end, std::function<const MemEvent*(T&)> DrawAdd
|
|||||||
{
|
{
|
||||||
sel = ImGui::Selectable( "", m_zoneInfoWindow == zoneFree );
|
sel = ImGui::Selectable( "", m_zoneInfoWindow == zoneFree );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextColored( ImVec4( 1.f, 1.f, 0.6f, 1.f ), txt );
|
ImGui::TextColored( ImVec4( 1.f, 1.f, 0.6f, 1.f ), "%s", txt );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user