From: root Date: Tue, 24 Feb 2009 11:51:51 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=64b76a9c4981b60b065c544a44496d642b8bc541;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/Changes b/Changes index f330a443..6adb1b43 100644 --- a/Changes +++ b/Changes @@ -25,6 +25,8 @@ TODO: selection_beg/end should set screen, or so systems supporting it (patch by Russell Harmon). - urxvt did not compile without frills enabled (analysed by Matthew Rosewarne). + - correctly reset the mbstate after an illegal + input sequence when handling terminal output (Emanuele Giaquinta). 9.06 Sat Nov 8 17:47:18 CET 2008 - NOTICE: this release updates terminfo/termcap. diff --git a/src/command.C b/src/command.C index fa550f5e..8e255787 100644 --- a/src/command.C +++ b/src/command.C @@ -2338,7 +2338,7 @@ rxvt_term::next_char () NOTHROW if (len == (size_t)-1) { - mbrtowc (0, 0, 0, mbstate); // reset now undefined conversion state + mbstate.reset (); // reset now undefined conversion state return (unsigned char)*cmdbuf_ptr++; // the _occasional_ latin1 character is allowed to slip through }