X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.cpp;h=cc0ceb79cabfadaa68fa1396997de3ba79930b78;hp=2bf3d20a4301413a8503aceb9b9d441698334474;hb=1f1d55ce48ae1dac0f077c60827a41b368b5207a;hpb=1887da2169397774c9563e9bf44c51ed7efc3646 diff --git a/pv/view/view.cpp b/pv/view/view.cpp index 2bf3d20..cc0ceb7 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -676,7 +676,7 @@ void View::restack_all_trace_tree_items() o->restack_items(); // Re-assign background colors - bool next_bgcolour_state = 0; + bool next_bgcolour_state = false; for (auto &o : sorted_owners) next_bgcolour_state = o->reassign_bgcolour_states(next_bgcolour_state);