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.34 by pcg, Fri Feb 13 12:16:21 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
1057 char *codeset; 1056 char *codeset;
1058 char charsets[4]; 1057 char charsets[4];
1059 unsigned char *v_buffer; /* pointer to physical buffer */ 1058 unsigned char *v_buffer; /* pointer to physical buffer */
1060 unsigned int v_buflen; /* size of area to write */ 1059 unsigned int v_buflen; /* size of area to write */
1061 char *newfont[MAX_NFONTS]; 1060 char *newfont[MAX_NFONTS];
1061 stringvec *argv, *envv; /* if != 0, will be freed on destroy time */
1062#ifdef KEYSYM_RESOURCE 1062#ifdef KEYSYM_RESOURCE
1063 const unsigned char *Keysym_map[256]; 1063 const unsigned char *Keysym_map[256];
1064#endif 1064#endif
1065 const char *rs[NUM_RESOURCES]; 1065 const char *rs[NUM_RESOURCES];
1066/* command input buffering */ 1066/* command input buffering */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines