diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-04-17 20:17:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-04-17 20:19:59 +0000 |
| commit | 5e2e59679b23010a04d04bbe9473dba89bd6dd30 (patch) | |
| tree | dc66356efc6ddaa215dc03423e7d0b88efd299b1 /grid.h | |
| parent | Merge branch 'translate-cursor-coords-when-reflowing' (diff) | |
grid: reflow: make tracking_points array 'const'
The elements aren't, and cannot be, const. But the array itself can,
and should be.
Diffstat (limited to 'grid.h')
| -rw-r--r-- | grid.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ void grid_reflow( struct grid *grid, int new_rows, int new_cols, int old_screen_rows, int new_screen_rows, size_t tracking_points_count, - struct coord *tracking_points[static tracking_points_count]); + struct coord *const tracking_points[static tracking_points_count]); static inline int grid_row_absolute(const struct grid *grid, int row_no) |
