From 22fbffe55fec692da62cf42f66618c26cfd0f329 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 10 Jun 2021 07:57:06 +0000 Subject: [PATCH] Fix <= operator. --- usr.bin/tmux/format.c | 4 ++-- 1 file 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 @@ -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) -- 2.20.1