summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2021-05-17 06:58:45 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2021-06-10 09:23:25 +0100
commit3b9b823df50202e466470d3cb557ef16a31b6af7 (patch)
tree442678e566d9af30c1956ff4536ff0a9ff23ab48
parent8aa34f616fa6723f4a98c435ddcab0ecaaa5b4e7 (diff)
Fix <= operator.
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.c b/format.c
index c7960819..3e640a6f 100644
--- a/format.c
+++ b/format.c
@@ -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)