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

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.106 by root, Tue Oct 3 12:13:57 2006 UTC vs.
Revision 1.107 by root, Thu Dec 7 03:50:36 2006 UTC

1128 for (wchar_t *wc = wstr; *wc; wc++) 1128 for (wchar_t *wc = wstr; *wc; wc++)
1129 { 1129 {
1130 int w = WCWIDTH (*wc); 1130 int w = WCWIDTH (*wc);
1131 1131
1132 if (w) 1132 if (w)
1133 RETVAL += min (w, 1); 1133 RETVAL += max (w, 1);
1134 } 1134 }
1135 rxvt_pop_locale (); 1135 rxvt_pop_locale ();
1136 1136
1137 free (wstr); 1137 free (wstr);
1138} 1138}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines