From: ayin Date: Tue, 23 Oct 2007 21:54:42 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=f2b4846d711a4dc8e78196dbe5b2fa819173a437;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/misc.C b/src/misc.C index b2aef19d..4e56baff 100644 --- a/src/misc.C +++ b/src/misc.C @@ -81,7 +81,7 @@ rxvt_wcstoutf8 (const wchar_t *str, int len) *p++ = 0xc0 | ( w >> 6), *p++ = 0x80 | ( w & 0x3f); else if (w < 0x010000) - *p++ = 0xe0 | ( w >> 12 ), + *p++ = 0xe0 | ( w >> 12), *p++ = 0x80 | ((w >> 6) & 0x3f), *p++ = 0x80 | ( w & 0x3f); else if (w < 0x110000)