From 8ac1af2bf656e42f81478e545b786de6735cb8a9 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Mon, 24 Jan 2022 07:39:53 +0000 Subject: [PATCH] fixed %js handling in the formatting funtion --- moo/lib/fmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moo/lib/fmt.c b/moo/lib/fmt.c index ee49d00..40c9159 100644 --- a/moo/lib/fmt.c +++ b/moo/lib/fmt.c @@ -839,7 +839,7 @@ static int fmt_outv (moo_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(MOO_OOCH_IS_UCH) + #if defined(MOO_OOCH_IS_BCH) if (lm_flag & LF_J) goto lowercase_s; #endif uppercase_s: