mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 14:16:18 +00:00
Merge branch 'obsd-master'
This commit is contained in:
10
format.c
10
format.c
@@ -2060,7 +2060,7 @@ static void *
|
||||
format_cb_pane_bottom(struct format_tree *ft)
|
||||
{
|
||||
if (ft->wp != NULL)
|
||||
return (format_printf("%u", ft->wp->yoff + ft->wp->sy - 1));
|
||||
return (format_printf("%d", ft->wp->yoff + ft->wp->sy - 1));
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
@@ -2219,7 +2219,7 @@ static void *
|
||||
format_cb_pane_left(struct format_tree *ft)
|
||||
{
|
||||
if (ft->wp != NULL)
|
||||
return (format_printf("%u", ft->wp->xoff));
|
||||
return (format_printf("%d", ft->wp->xoff));
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
@@ -2343,7 +2343,7 @@ static void *
|
||||
format_cb_pane_right(struct format_tree *ft)
|
||||
{
|
||||
if (ft->wp != NULL)
|
||||
return (format_printf("%u", ft->wp->xoff + ft->wp->sx - 1));
|
||||
return (format_printf("%d", ft->wp->xoff + ft->wp->sx - 1));
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
@@ -2385,7 +2385,7 @@ static void *
|
||||
format_cb_pane_top(struct format_tree *ft)
|
||||
{
|
||||
if (ft->wp != NULL)
|
||||
return (format_printf("%u", ft->wp->yoff));
|
||||
return (format_printf("%d", ft->wp->yoff));
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
@@ -2936,7 +2936,7 @@ static void *
|
||||
format_cb_window_panes(struct format_tree *ft)
|
||||
{
|
||||
if (ft->w != NULL)
|
||||
return (format_printf("%u", window_count_panes(ft->w)));
|
||||
return (format_printf("%u", window_count_panes(ft->w, 1)));
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user