------- Forwarded Message

Subject: Bug#75691: lines starts with the second byte of multi-byte 
characters
Reply-To: Shugo Maeda <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Resent-From: Shugo Maeda <[EMAIL PROTECTED]>
Resent-To: [EMAIL PROTECTED]
Resent-Cc: Brian Mays <[EMAIL PROTECTED]>
Resent-Date: Fri, 27 Oct 2000 06:33:01 GMT
Resent-Message-ID: <[EMAIL PROTECTED]>
Resent-Sender: [EMAIL PROTECTED]
X-Debian-PR-Message: report 75691
X-Debian-PR-Package: rxvt-ml
X-Debian-PR-Keywords: 
X-Loop: [EMAIL PROTECTED]
Received: via spool by [EMAIL PROTECTED] id=B.972627553347
          (code B ref -1); Fri, 27 Oct 2000 06:33:01 GMT
Date: Fri, 27 Oct 2000 15:19:10 +0900
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
User-Agent: Wanderlust/2.3.0 (Roam) EMY/1.13.8 (Tastes differ) FLIM/1.13.2 
(Kasanui) APEL/10.2 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]

Package: rxvt-ml
Version: 2.6.3-5

If a line starts with the second byte of multi-byte characters,
draw_string16() displays garbage.
Please apply this patch.

- --- screen.c.orig     Fri Oct 27 14:59:11 2000
+++ screen.c    Fri Oct 27 14:59:14 2000
@@ -2462,7 +2462,8 @@
                        multichar_decode(buffer, len);
                    wlen = len / 2;
                } else {
- -                 if ((rend & RS_multiMask) == RS_multi1) {
+                   if ((rend & RS_multiMask) == RS_multi1
+                       || (rend & RS_multiMask) == RS_multi2) {
                    /* XXX : maybe do the same thing for RS_multi2 */
                    /* corrupt character - you're outta there */
                        rend &= ~RS_multiMask;


------- End of Forwarded Message


Reply via email to