From 33d1371186aa8e6d69a65940be14550e842c2d88 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 25 Aug 2023 16:28:41 -0500 Subject: [PATCH] Update specials.c for formatting. --- src/core/specials.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/specials.c b/src/core/specials.c index dd3b782d..c19c728b 100644 --- a/src/core/specials.c +++ b/src/core/specials.c @@ -831,8 +831,8 @@ static JanetSlot janetc_while(JanetFopts opts, int32_t argn, const Janet *argv) int never_executes = is_nil_form ? !janet_checktype(cond.constant, JANET_NIL) : is_notnil_form - ? janet_checktype(cond.constant, JANET_NIL) - : !janet_truthy(cond.constant); + ? janet_checktype(cond.constant, JANET_NIL) + : !janet_truthy(cond.constant); if (never_executes) { janetc_popscope(c); return janetc_cslot(janet_wrap_nil());