Skip to content

Commit

Permalink
Fix gcc complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o committed Nov 29, 2024
1 parent 8cb07e5 commit b037877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vtm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,7 @@ namespace netxs::app::vtm
auto& counter = switch_counter[gear_id];
auto deed = this->bell::protos(tier::request);
auto forward = deed == e2::form::layout::focus::next.id;
if (forward != counter > 0) counter = {}; // Reset if direction has changed.
if (forward != (counter > 0)) counter = {}; // Reset if direction has changed.
forward ? counter++ : counter--;
if (std::abs(counter) >= (si32)items.size())
{
Expand Down

0 comments on commit b037877

Please sign in to comment.