From a0cea97519ae950012fd1660ecb22588ae6f9a46 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 1 Oct 2024 09:42:22 -0700 Subject: [PATCH] Fix typo in 5c5b627cb1: Failed to negate condition. --- gnucash/register/ledger-core/split-register-control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/register/ledger-core/split-register-control.cpp b/gnucash/register/ledger-core/split-register-control.cpp index e213ec8928e..edec8787e19 100644 --- a/gnucash/register/ledger-core/split-register-control.cpp +++ b/gnucash/register/ledger-core/split-register-control.cpp @@ -416,7 +416,7 @@ gnc_split_register_move_cursor (VirtualLocation *p_new_virt_loc, old_split = s; old_trans = gnc_split_register_get_current_trans (reg); if (auto s{gnc_split_register_get_current_trans_split (reg, &old_trans_split_loc)}; - is_trading_split(s)) + !is_trading_split(s)) old_trans_split = s; old_class = gnc_split_register_get_current_cursor_class (reg);