diff options
Diffstat (limited to 'zap/src/mem/win1252enc.c')
-rw-r--r-- | zap/src/mem/win1252enc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zap/src/mem/win1252enc.c b/zap/src/mem/win1252enc.c index 147ddaf..cd313cd 100644 --- a/zap/src/mem/win1252enc.c +++ b/zap/src/mem/win1252enc.c @@ -16,11 +16,11 @@ void zap_win1252enc(zap_chr20 const * const _in,zap_chr8 * const _out) { zap_chr8 const bad = 0x3Fu; switch (chr) { default: - sus_unlikely (chr > 0xFFu) { + if (chr > 0xFFu) { *out = bad; break; } - sus_unlikely (chr >= 0x80u && chr <= 0x9Fu) { + if (chr >= 0x80u && chr <= 0x9Fu) { *out = bad; break; } @@ -108,6 +108,6 @@ void zap_win1252enc(zap_chr20 const * const _in,zap_chr8 * const _out) { *out = 0x9Fu; break; } - sus_unlikely (chr == 0x0u) {break;} + if (chr == 0x0u) {break;} } } |