*** empty log message ***
authorroot <root>
Tue, 24 Feb 2009 11:51:51 +0000 (11:51 +0000)
committerroot <root>
Tue, 24 Feb 2009 11:51:51 +0000 (11:51 +0000)
Changes
src/command.C

diff --git a/Changes b/Changes
index f330a443f13682598dbe502f36f7e5f17d50ac29..6adb1b431ec249e7e36dc3e091bad89bab618b45 100644 (file)
--- 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.
index fa550f5ed919fdae59e0420e37ac1ebfe1adac55..8e255787a895389f3a56ae6544ce02d737bc9a6f 100644 (file)
@@ -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
         }