-/* $OpenBSD: format.c,v 1.292 2021/08/20 17:50:42 nicm Exp $ */
+/* $OpenBSD: format.c,v 1.293 2021/08/20 20:04:22 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
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);
-/* $OpenBSD: window-copy.c,v 1.329 2021/08/20 19:50:17 nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.330 2021/08/20 20:04:22 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
if (count == 0)
return;
command = args_string(args, 0);
+
if (m != NULL && m->valid && !MOUSE_WHEEL(m->b))
window_copy_move_mouse(m);