ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Protocol.pm (file contents):
Revision 1.62 by elmex, Sat Jul 22 12:18:02 2006 UTC vs.
Revision 1.63 by root, Sun Jul 23 04:46:02 2006 UTC

602 $text = CFClient::UI::Label::escape $text; 602 $text = CFClient::UI::Label::escape $text;
603 $text =~ s/\[b\](.*?)\[\/b\]/<b>\1<\/b>/g; 603 $text =~ s/\[b\](.*?)\[\/b\]/<b>\1<\/b>/g;
604 $text =~ s/\[color=(.*?)\](.*?)\[\/color\]/<span foreground='\1'>\2<\/span>/g; 604 $text =~ s/\[color=(.*?)\](.*?)\[\/color\]/<span foreground='\1'>\2<\/span>/g;
605 605
606 $self->{logview}->add_paragraph ($color[$color], $_) 606 $self->{logview}->add_paragraph ($color[$color], $_)
607 for map "$time $_", split /\n/, $text; 607 for map "<span foreground='#ffffff'>$time</span> $_", split /\n/, $text;
608 $self->{logview}->scroll_to_bottom; 608 $self->{logview}->scroll_to_bottom;
609 609
610 $self->{statusbox}->add ($text, 610 $self->{statusbox}->add ($text,
611 group => $text, 611 group => $text,
612 fg => $color[$color], 612 fg => $color[$color],

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines