From 52f76a45ed1ca7e8d41029f0eeec4f4da0a1885d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 26 Mar 2019 20:27:28 +0100 Subject: [PATCH] Display separators for bin counts in compare menu. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 59968688..8e7b86d5 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -7676,7 +7676,7 @@ void View::DrawCompare() ImGui::Text( "%s - %s", TimeToString( t0 ), TimeToString( t1 ) ); TextDisabledUnformatted( "Count:" ); ImGui::SameLine(); - ImGui::Text( "%g / %g", floor( bins[bin].v0 ), floor( bins[bin].v1 ) ); + ImGui::Text( "%s / %s", RealToString( floor( bins[bin].v0 ), true ), RealToString( floor( bins[bin].v1 ), true ) ); TextDisabledUnformatted( "Time spent in bin:" ); ImGui::SameLine(); ImGui::Text( "%s / %s", TimeToString( binTime[bin].v0 ), TimeToString( binTime[bin].v1 ) );