updated BYTE_PRINTABLE()
This commit is contained in:
		| @ -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; | ||||||
|  |  | ||||||
|  | |||||||
| @ -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) | ||||||
| { | { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user