ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.523 by sf-exg, Fri Jun 29 13:57:26 2012 UTC vs.
Revision 1.524 by root, Tue Aug 14 20:32:48 2012 UTC

2387 } 2387 }
2388 2388
2389 if (len == (size_t)-1) 2389 if (len == (size_t)-1)
2390 { 2390 {
2391 mbstate.reset (); // reset now undefined conversion state 2391 mbstate.reset (); // reset now undefined conversion state
2392 // a -1 might indicate that a previous incomplet char is invalid (previous return -2)
2393 // in which case we "errornously" return the next byte which might be valid.
2392 return (unsigned char)*cmdbuf_ptr++; // the _occasional_ latin1 character is allowed to slip through 2394 return (unsigned char)*cmdbuf_ptr++; // the _occasional_ latin1 character is allowed to slip through
2393 } 2395 }
2394 2396
2395 // assume wchar == unicode 2397 // assume wchar == unicode
2396 cmdbuf_ptr += len; 2398 cmdbuf_ptr += len;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines