git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1047 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-08-27 22:40:07 +00:00
parent 621388fd10
commit 261edbe9d0

View File

@ -187,9 +187,15 @@ xaccNextRight (CellBlock *arr, int row, int col,
if ((row >= arr->numRows) || (col >= arr->numCols)) return; if ((row >= arr->numRows) || (col >= arr->numCols)) return;
/* -1 is a valid value for next ... it signifies that traversal /* -1 is a valid value for next ... it signifies that traversal
* should go to next tab group, so do not check for neg values */ * should go to next tab group, so do not check for neg values.
/* if ((0 > next_row) || (0 > next_col)) return; */ * if ((0 > next_row) || (0 > next_col)) return;
if ((next_row >= arr->numRows) || (next_col >= arr->numCols)) 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_r)[row][col] = next_row;
(arr->right_traverse_c)[row][col] = next_col; (arr->right_traverse_c)[row][col] = next_col;