aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2021-08-20 20:04:22 +0000
committernicm <nicm>2021-08-20 20:04:22 +0000
commitcaa8703a23358e95beeec2867b05b8372eb523b1 (patch)
treee8d3491dd3c0a2867e511e36ccc23a2aed48ddc4
parent5f32b7d9613e9ef3f8198302379a42630323da6a (diff)
downloadrtmux-caa8703a23358e95beeec2867b05b8372eb523b1.tar.gz
rtmux-caa8703a23358e95beeec2867b05b8372eb523b1.tar.bz2
rtmux-caa8703a23358e95beeec2867b05b8372eb523b1.zip
Spacing tweaks.
-rw-r--r--format.c2
-rw-r--r--window-copy.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/format.c b/format.c
index 1cf852c5..ebfe628c 100644
--- a/format.c
+++ b/format.c
@@ -3626,7 +3626,7 @@ format_build_modifiers(struct format_expand_state *es, const char **s,
break;
cp++;
- argv = xreallocarray (argv, argc + 1, sizeof *argv);
+ argv = xreallocarray(argv, argc + 1, sizeof *argv);
value = xstrndup(cp, end - cp);
argv[argc++] = format_expand1(es, value);
free(value);
diff --git a/window-copy.c b/window-copy.c
index 3e08c039..c1a31b48 100644
--- a/window-copy.c
+++ b/window-copy.c
@@ -2841,6 +2841,7 @@ window_copy_command(struct window_mode_entry *wme, struct client *c,
if (count == 0)
return;
command = args_string(args, 0);
+
if (m != NULL && m->valid && !MOUSE_WHEEL(m->b))
window_copy_move_mouse(m);