From d8a23ad52c0ca73beb8e40464df2d2dd296834dc Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 24 Jan 2022 07:39:43 +0000 Subject: [PATCH] fixed %js handling in the formatting funtion --- lib/fmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fmt.c b/lib/fmt.c index 5e73cb2..8362a03 100644 --- a/lib/fmt.c +++ b/lib/fmt.c @@ -844,7 +844,7 @@ static int fmt_outv (hcl_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(HCL_OOCH_IS_UCH) + #if defined(HCL_OOCH_IS_BCH) if (lm_flag & LF_J) goto lowercase_s; #endif uppercase_s: