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

Comparing rxvt-unicode/src/perl/selection (file contents):
Revision 1.40 by root, Tue Oct 3 11:32:20 2006 UTC vs.
Revision 1.41 by root, Sat Nov 4 22:56:30 2006 UTC

81 - $line->offset_of ($self->selection_beg); 81 - $line->offset_of ($self->selection_beg);
82 82
83 my @matches; 83 my @matches;
84 84
85 if ($markofs < $line->l) { 85 if ($markofs < $line->l) {
86 # convert markofs form character to UTF-8 offset space 86 # convert markofs from character to UTF-8 offset space
87 { 87 {
88 my $prefix = substr $text, 0, $markofs; 88 my $prefix = substr $text, 0, $markofs;
89 utf8::encode $prefix; 89 utf8::encode $prefix;
90 $markofs = length $prefix; 90 $markofs = length $prefix;
91 } 91 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines