From 3c775e752b0a0e4300f568bcc3c98664a46438b1 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 24 Jan 2022 07:40:31 +0000 Subject: [PATCH] fixed %js handling in the formatting funtion --- hawk/lib/fmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hawk/lib/fmt.c b/hawk/lib/fmt.c index adba322a..a3ca5493 100644 --- a/hawk/lib/fmt.c +++ b/hawk/lib/fmt.c @@ -885,7 +885,7 @@ static int fmt_outv (hawk_fmtout_t* fmtout, va_list ap) /* zeropad must not take effect for 's' */ if (flagc & FLAGC_ZEROPAD) padc = ' '; if (lm_flag & LF_H) goto lowercase_s; - #if defined(HAWK_OOCH_IS_UCH) + #if defined(HAWK_OOCH_IS_BCH) if (lm_flag & (LF_J | LF_JJ)) goto lowercase_s; #endif uppercase_s: