summaryrefslogtreecommitdiffstats
path: root/debian/patches/upstream-bd29a48b56.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:35:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:35:58 +0000
commit4e41457eeb3c8a265f2f603a0986ec11d9d6038a (patch)
tree19b9839653e65e69444c3ecad64438b1c27125c6 /debian/patches/upstream-bd29a48b56.diff
parentAdding debian version 3.4-1. (diff)
downloadtmux-4e41457eeb3c8a265f2f603a0986ec11d9d6038a.tar.xz
tmux-4e41457eeb3c8a265f2f603a0986ec11d9d6038a.zip
Adding debian version 3.4-2.debian/3.4-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/upstream-bd29a48b56.diff')
-rw-r--r--debian/patches/upstream-bd29a48b56.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/upstream-bd29a48b56.diff b/debian/patches/upstream-bd29a48b56.diff
new file mode 100644
index 0000000..49f34be
--- /dev/null
+++ b/debian/patches/upstream-bd29a48b56.diff
@@ -0,0 +1,24 @@
+commit bd29a48b56ae649d425fd6939d60f75d79d767da
+Author: Nicholas Marriott <nicholas.marriott@gmail.com>
+Date: Wed Mar 6 21:32:39 2024 +0000
+
+ Check for the right flag to fix split-window -p, from Bryan Childs.
+
+diff --git a/cmd-split-window.c b/cmd-split-window.c
+index 18df715ef0..82ff22aff0 100644
+--- a/cmd-split-window.c
++++ b/cmd-split-window.c
+@@ -94,10 +94,10 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item)
+ size = -1;
+ if (args_has(args, 'l')) {
+ size = args_percentage_and_expand(args, 'l', 0, INT_MAX, curval,
+- item, &cause);
++ item, &cause);
+ } else if (args_has(args, 'p')) {
+- size = args_strtonum_and_expand(args, 'l', 0, 100, item,
+- &cause);
++ size = args_strtonum_and_expand(args, 'p', 0, 100, item,
++ &cause);
+ if (cause == NULL)
+ size = curval * size / 100;
+ }