Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2026-05-27 08:15:06 +01:00
2 changed files with 6 additions and 6 deletions

View File

@@ -2102,7 +2102,7 @@ window_pane_tiled_geometry(struct window *w, struct window_pane *wp,
} else if (args_has(args, 'p')) {
size = args_strtonum_and_expand(args, 'p', 0, 100, item,
cause);
if (cause == NULL)
if (*cause == NULL)
size = curval * size / 100;
}
if (*cause != NULL)