Change some names of things for clarity.

This commit is contained in:
Michael Grant
2026-08-09 22:13:15 +01:00
parent 3c5a24c858
commit 3f6e4efe1b
2 changed files with 2 additions and 2 deletions

View File

@@ -286,7 +286,7 @@ image_get_canvas_size(const struct image *im, u_int *width,
/* Return an image's cell dimensions. */
void
image_get_cell_size(const struct image *im, u_int *sx, u_int *sy)
image_get_size_in_cells(const struct image *im, u_int *sx, u_int *sy)
{
if (sx != NULL)
*sx = im->sx;

2
tmux.h
View File

@@ -4251,7 +4251,7 @@ u_short image_get_grid_id(u_int);
u_int image_get_id_by_grid_id(u_short);
void image_get_size(const struct image *, u_int *, u_int *);
void image_get_canvas_size(const struct image *, u_int *, u_int *);
void image_get_cell_size(const struct image *, u_int *, u_int *);
void image_get_size_in_cells(const struct image *, u_int *, u_int *);
const u_char *image_get_pixels(const struct image *, size_t *, size_t *);
struct sixel_image *image_get_sixel(const struct image *);
void image_set_sixel(struct image *, struct sixel_image *);