diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-01-30 08:06:40 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-02-05 12:35:16 +0000 |
| commit | 32919b1049b2f333208920f6b3c240fe7c637f13 (patch) | |
| tree | 21906fb4fbdb02460d447bc465433fc8ef998c09 | |
| parent | xmalloc: add xreallocarray() (diff) | |
grid: typo
| -rw-r--r-- | grid.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,7 +36,8 @@ grid_row_abs_to_sb(const struct grid *grid, int screen_rows, int abs_row) return rebased_row; } -int grid_row_sb_to_abs(const struct grid *grid, int screen_rows, int sb_rel_row) +int +grid_row_sb_to_abs(const struct grid *grid, int screen_rows, int sb_rel_row) { const int scrollback_start = grid->offset + screen_rows; int abs_row = sb_rel_row + scrollback_start; |
