repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 79604fca09a3552f486527c7ae8e3a0bc62f9c17: path_to: revision_to:
commit 79604fca09a3552f486527c7ae8e3a0bc62f9c17 Author: Marc LehmannDate: Tue Feb 24 11:51:51 2009 +0000 *** empty log message *** diff --git a/Changes b/Changes
--- 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
--- 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
}
-----END OF PAGE-----