diff options
Diffstat (limited to 'iconvdata/ibm933.c')
-rw-r--r-- | iconvdata/ibm933.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/iconvdata/ibm933.c b/iconvdata/ibm933.c index c984cd1733..669e357066 100644 --- a/iconvdata/ibm933.c +++ b/iconvdata/ibm933.c @@ -108,24 +108,14 @@ enum \ if (__builtin_expect (ch, 0) == SO) \ { \ - /* Shift OUT, change to DBCS converter. */ \ - if (curcs == db) \ - { \ - result = __GCONV_ILLEGAL_INPUT; \ - break; \ - } \ + /* Shift OUT, change to DBCS converter (redundant escape okay). */ \ curcs = db; \ ++inptr; \ continue; \ } \ else if (__builtin_expect (ch, 0) == SI) \ { \ - /* Shift IN, change to SBCS converter. */ \ - if (curcs == sb) \ - { \ - result = __GCONV_ILLEGAL_INPUT; \ - break; \ - } \ + /* Shift IN, change to SBCS converter (redundant escape okay). */ \ curcs = sb; \ ++inptr; \ continue; \ |