updated BYTE_PRINTABLE()

This commit is contained in:
hyung-hwan 2019-03-20 07:16:39 +00:00
parent c139017593
commit 1a16fd8888
2 changed files with 2 additions and 2 deletions

View File

@ -7521,7 +7521,7 @@ wp_mod_main:
} }
} }
#define BYTE_PRINTABLE(x) ((x) <= 0x7F && QSE_ISMPRINT(x) && (x) != '\\') #define BYTE_PRINTABLE(x) ((x) <= 0x7F && (x) != '\\' && QSE_ISMPRINT(x))
if (fmt[i] == QSE_T('k')) bytetostr_flagged_radix |= QSE_BYTETOSTR_LOWERCASE; if (fmt[i] == QSE_T('k')) bytetostr_flagged_radix |= QSE_BYTETOSTR_LOWERCASE;

View File

@ -109,7 +109,7 @@ static char_t* sprintn (char_t* nbuf, qse_uintmax_t num, int base, int *lenp, in
PUT_CHAR(__xbuf[1]); \ PUT_CHAR(__xbuf[1]); \
} while (0) } while (0)
#define BYTE_PRINTABLE(x) ((x) <= 0x7F && QSE_ISMPRINT(x) && (x) != '\\') #define BYTE_PRINTABLE(x) ((x) <= 0x7F && (x) != '\\' && QSE_ISMPRINT(x))
int fmtout (const char_t* fmt, fmtout_t* data, va_list ap) int fmtout (const char_t* fmt, fmtout_t* data, va_list ap)
{ {