grid: typo

This commit is contained in:
Daniel Eklöf 2025-01-30 09:06:40 +01:00
parent aae794e9bd
commit 32919b1049
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

3
grid.c
View file

@ -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;