fixed %js handling in the formatting funtion

This commit is contained in:
hyunghwan.chung 2022-01-24 07:39:53 +00:00
parent f74f9c240d
commit 8ac1af2bf6

View File

@ -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: