Some trivial bits from master.

This commit is contained in:
Nicholas Marriott
2026-05-25 15:49:22 +01:00
parent c60422241b
commit 6c1773542d
3 changed files with 3 additions and 5 deletions

View File

@@ -216,7 +216,6 @@ layout_parse(struct window *w, const char *layout, char **cause)
if (floating_lc != NULL)
ncells += layout_count_cells(floating_lc);
if (npanes > ncells) {
/* Modify this to open a new pane */
xasprintf(cause, "have %u panes but need %u", npanes,
ncells);
goto fail;

1
tmux.h
View File

@@ -1264,7 +1264,6 @@ struct window_pane {
int yoff;
int flags;
int saved_flags;
#define PANE_REDRAW 0x1
#define PANE_DROP 0x2
#define PANE_FOCUSED 0x4

2
tty.c
View File

@@ -2045,7 +2045,7 @@ tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx)
{
const struct grid_cell *gcp = ctx->cell;
struct screen *s = ctx->s;
struct visible_ranges *r = NULL;
struct visible_ranges *r;
u_int px, py, i, vis = 0;
px = ctx->xoff + ctx->ocx - ctx->wox;