mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1047 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
621388fd10
commit
261edbe9d0
@ -187,9 +187,15 @@ xaccNextRight (CellBlock *arr, int row, int col,
|
||||
if ((row >= arr->numRows) || (col >= arr->numCols)) return;
|
||||
|
||||
/* -1 is a valid value for next ... it signifies that traversal
|
||||
* should go to next tab group, so do not check for neg values */
|
||||
/* if ((0 > next_row) || (0 > next_col)) return; */
|
||||
if ((next_row >= arr->numRows) || (next_col >= arr->numCols)) return;
|
||||
* should go to next tab group, so do not check for neg values.
|
||||
* if ((0 > next_row) || (0 > next_col)) return;
|
||||
*/
|
||||
|
||||
/* if the "next" location to hop to is larger than the cursor, that
|
||||
* just means that we should hop to the next cursor. Thus, large
|
||||
* values for next *are* valid.
|
||||
* if ((next_row >= arr->numRows) || (next_col >= arr->numCols)) return;
|
||||
*/
|
||||
|
||||
(arr->right_traverse_r)[row][col] = next_row;
|
||||
(arr->right_traverse_c)[row][col] = next_col;
|
||||
|
Loading…
Reference in New Issue
Block a user