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

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.35 by pcg, Fri Feb 13 13:28:17 2004 UTC vs.
Revision 1.36 by pcg, Sat Feb 21 20:33:40 2004 UTC

819 819
820// primivite wrapper around mbstate_t to ensure initialisation 820// primivite wrapper around mbstate_t to ensure initialisation
821struct mbstate { 821struct mbstate {
822 mbstate_t mbs; 822 mbstate_t mbs;
823 823
824 mbstate () 824 operator mbstate_t *() { return &mbs; }
825 {
826 MEMSET (&mbs, 0, sizeof (mbs)); 825 void reset () { MEMSET (&mbs, 0, sizeof (mbs)); }
827 } 826 mbstate () { reset (); }
828}; 827};
829 828
830struct rxvt_term : rxvt_vars { 829struct rxvt_term : rxvt_vars {
831 struct mbstate mbstate; 830 struct mbstate mbstate;
832 831

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines