From 1a089fe8aad3e8b46a7a9bc952322296be444e3f Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 24 Jan 2022 07:40:04 +0000 Subject: [PATCH] fixed %js handling in the formatting funtion --- hio/lib/fmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hio/lib/fmt.c b/hio/lib/fmt.c index f50b77c..9cedc23 100644 --- a/hio/lib/fmt.c +++ b/hio/lib/fmt.c @@ -709,7 +709,7 @@ static int fmt_outv (hio_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(HIO_OOCH_IS_UCH) + #if defined(HIO_OOCH_IS_BCH) if (lm_flag & LF_J) goto lowercase_s; #endif uppercase_s: