summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/format.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2021-06-10 07:57:07 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2021-06-10 07:57:07 +0000
commitea89097bd9a43b8039ce670773c685d2c9638a04 (patch)
treecf2db0048ea6e5f4b65385290da769b745750308 /usr.bin/tmux/format.c
parent00154024a3fef8c3772069d9268ee670acca743e (diff)
Fix <= operator.
Diffstat (limited to 'usr.bin/tmux/format.c')
-rw-r--r--usr.bin/tmux/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/format.c b/usr.bin/tmux/format.c
index 9a54ea5f0d1..4b25ed5b9a2 100644
--- a/usr.bin/tmux/format.c
+++ b/usr.bin/tmux/format.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: format.c,v 1.284 2021/06/10 07:45:43 nicm Exp $ */
+/* $OpenBSD: format.c,v 1.285 2021/06/10 07:57:06 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -3991,7 +3991,7 @@ format_replace_expression(struct format_modifier *mexp,
result = (mleft < mright);
break;
case LESS_THAN_EQUAL:
- result = (mleft > mright);
+ result = (mleft >= mright);
break;
}
if (use_fp)