From 21b52ec10bf0483331e8c7027c52db9556e69a0f Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Thu, 4 Jan 2018 17:55:59 -0500 Subject: [PATCH] code review: remove pointless test --- src/js/text-encode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/text-encode.js b/src/js/text-encode.js index 60a4c8d94..7b2823aa3 100644 --- a/src/js/text-encode.js +++ b/src/js/text-encode.js @@ -112,7 +112,7 @@ } if ( c < 0x100 ) { buf[o++] = c; - } else if ( c >= 0x100 && c < 0x180 ) { + } else if ( c < 0x180 ) { buf[o++] = cp1250_range0[c - 0x100]; } else if ( c >= 0x2010 && c < 0x2040 ) { buf[o++] = cp125x_range0[c - 0x2010];