Skip to content

Commit 9589ec8

Browse files
committed
FIX: always false result warning
1 parent 5eedc54 commit 9589ec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/s-mold.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@ STOID Mold_Url(REBVAL *value, REB_MOLD *mold)
487487
if (IS_URL_ESC(c)) len += 2;
488488
// unicode chars must be also encoded...
489489
else if (c < (REBCNT)0x80) continue;
490-
else if (c >= (REBCNT)0x0010FFFF) len += 14;
491-
else if (c >= (REBCNT)0x10000) len += 11;
490+
//else if (c >= (REBCNT)0x0010FFFF) len += 14; // REBUNI is just 16bit, so this is useless now!
491+
//else if (c >= (REBCNT)0x10000) len += 11;
492492
else if (c >= (REBCNT)0x800) len += 8;
493493
else if (c >= (REBCNT)0x80) len += 5;
494494
}

0 commit comments

Comments
 (0)