fixed %js handling in the formatting funtion

This commit is contained in:
hyung-hwan 2022-01-24 07:40:04 +00:00
parent c09bd088c1
commit 1a089fe8aa

View File

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