1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

No magic numbers.

This commit is contained in:
Bartosz Taudul
2019-08-17 16:26:59 +02:00
parent 26be78530f
commit f957f64ce1
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -5046,7 +5046,7 @@ void View::DrawZoneInfoWindow()
}
ImGui::NextColumn();
const char* desc;
if( reason == 100 )
if( reason == ContextSwitchData::NoState )
{
ImGui::TextUnformatted( DecodeContextSwitchStateCode( state ) );
desc = DecodeContextSwitchState( state );