fixed %js handling in the formatting funtion

This commit is contained in:
hyung-hwan 2022-01-24 07:39:43 +00:00
parent 6cdbc457a0
commit d8a23ad52c

View File

@ -844,7 +844,7 @@ static int fmt_outv (hcl_fmtout_t* fmtout, va_list ap)
/* zeropad must not take effect for 's' */ /* zeropad must not take effect for 's' */
if (flagc & FLAGC_ZEROPAD) padc = ' '; if (flagc & FLAGC_ZEROPAD) padc = ' ';
if (lm_flag & LF_H) goto lowercase_s; 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; if (lm_flag & LF_J) goto lowercase_s;
#endif #endif
uppercase_s: uppercase_s: