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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.53 by pcg, Sun Mar 14 17:33:07 2004 UTC vs.
Revision 1.54 by pcg, Mon Mar 15 00:08:11 2004 UTC

59} 59}
60 60
61#if ENABLE_COMBINING 61#if ENABLE_COMBINING
62class rxvt_composite_vec rxvt_composite; 62class rxvt_composite_vec rxvt_composite;
63 63
64text_t rxvt_composite_vec::compose (uint32_t c1, uint32_t c2) 64text_t rxvt_composite_vec::compose (unicode_t c1, unicode_t c2)
65{ 65{
66 compose_char *cc; 66 compose_char *cc;
67 67
68 // break compose chains, as stupid readline really likes to duplicate 68 // break compose chains, as stupid readline really likes to duplicate
69 // composing characters for some reason near the end of a line. 69 // composing characters for some reason near the end of a line.
95 v.push_back (compose_char (c1, c2)); 95 v.push_back (compose_char (c1, c2));
96 96
97 return v.size () - 1 + COMPOSE_LO; 97 return v.size () - 1 + COMPOSE_LO;
98} 98}
99 99
100int rxvt_composite_vec::expand (uint32_t c, wchar_t *r) 100int rxvt_composite_vec::expand (unicode_t c, wchar_t *r)
101{ 101{
102 compose_char *cc = (*this)[c]; 102 compose_char *cc = (*this)[c];
103 103
104 if (!cc) 104 if (!cc)
105 { 105 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines