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.194 by root, Mon May 5 20:22:03 2008 UTC vs.
Revision 1.195 by root, Thu May 8 20:19:49 2008 UTC

1026 1026
1027 # handle some elements 1027 # handle some elements
1028 s/<fg name='([^']*)'>(.*?)<\/fg>/<span foreground='$1'>$2<\/span>/gs; 1028 s/<fg name='([^']*)'>(.*?)<\/fg>/<span foreground='$1'>$2<\/span>/gs;
1029 s/<fg name="([^"]*)">(.*?)<\/fg>/<span foreground="$1">$2<\/span>/gs; 1029 s/<fg name="([^"]*)">(.*?)<\/fg>/<span foreground="$1">$2<\/span>/gs;
1030 1030
1031 s/\s+$//;
1032
1031 $_ 1033 $_
1032} 1034}
1033 1035
1034our %NAME_TO_COLOR = ( 1036our %NAME_TO_COLOR = (
1035 black => 0, 1037 black => 0,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines