summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-06-17 10:05:50 -0300
committerAndrés <andmarti@gmail.com>2021-06-17 10:05:50 -0300
commite72eb544532bd1fb0208fd95e0dc286a1061f084 (patch)
treebd25c12a3b7c87b7f5e52889a2e0d3b60221c817 /src
parent7b5648463c2a86361797084342bef1a784564b09 (diff)
merge work by @npitre. PR 581: adjust row/col count on edge cases
Diffstat (limited to 'src')
-rw-r--r--src/cmds/cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmds/cmds.c b/src/cmds/cmds.c
index 156ced4..a1430e8 100644
--- a/src/cmds/cmds.c
+++ b/src/cmds/cmds.c
@@ -2562,7 +2562,7 @@ int calc_mobile_rows(struct sheet * sh, int *last_p) {
}
sh->offscr_sc_rows = last;
last = sh->currow;
-
+
/*
* Yet if the rows to follow have a smaller height than those we just
* counted then maybe they could fill the remaining space at the
@@ -2664,7 +2664,7 @@ int calc_mobile_cols(struct sheet * sh, int *last_p) {
last = sh->curcol;
/*
- * Yet if the columns to follow have a smaller height than those we
+ * Yet if the columns to follow have a smaller width than those we
* just counted then maybe they could fill the remaining space at the
* right edge of the screen.
*/