diff options
Diffstat (limited to 'lib/libX11/src/xlibi18n/lcCT.c')
-rw-r--r-- | lib/libX11/src/xlibi18n/lcCT.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/xlibi18n/lcCT.c b/lib/libX11/src/xlibi18n/lcCT.c index 2ffb00978..9e797036a 100644 --- a/lib/libX11/src/xlibi18n/lcCT.c +++ b/lib/libX11/src/xlibi18n/lcCT.c @@ -620,7 +620,7 @@ _XlcCheckCTSequence( return resOK; case XctExtSeg: if (tmp_ctext_len > 2 - && (tmp_ctext[0] & 0x80) && (tmp_ctext[0] & 0x80)) { + && (tmp_ctext[0] & 0x80) && (tmp_ctext[1] & 0x80)) { unsigned int msb = tmp_ctext[0] & 0x7f; unsigned int lsb = tmp_ctext[1] & 0x7f; ext_seg_left = (msb << 7) + lsb; |