Fix win32 build script

This commit is contained in:
Nishi 2026-06-22 05:20:31 +09:00
commit 9d4a7ddf4c
2 changed files with 37 additions and 8 deletions

View file

@ -24,7 +24,7 @@ struct sj4lib {
#ifdef UCS
static u_int ucs_to_euc(u_int in) {
if(0 <= in && in <= 0xffff) {
if(in <= 0xffff) {
const T_U2E_BITMAP_INDEX* b = &utf16_to_euc_jp_table[(in >> 8) & 0xff];
if(b->byType == 2) {