--- deliantra/Deliantra-Client/DC/Protocol.pm 2006/06/06 03:02:15 1.23 +++ deliantra/Deliantra-Client/DC/Protocol.pm 2006/06/06 03:13:00 1.25 @@ -374,7 +374,7 @@ my $time = sprintf "%02d:%02d:%02d", (localtime time)[2,1,0]; # try to create single paragraphs of multiple lines sent by the server - $text =~ s/(?<=\S)\n(?=\S)/ /g; + $text =~ s/(?<=\S)\n(?=\w)/ /g; $text = CFClient::UI::Label::escape $text; $text =~ s/\[b\](.*?)\[\/b\]/\1<\/b>/g; @@ -488,7 +488,7 @@ my $row; for (@{ $::CONN->{container}{0} }) { - if ($row < 7) { + if ($row < 6) { local $_->{face_widget}; # hack to force recreation of widget local $_->{desc_widget}; # hack to force recreation of widget CFClient::Item::update_widgets $_; @@ -498,7 +498,10 @@ $row++; } else { - $::FLOORBOX->add (1, $row, new CFClient::UI::Label text => "More..."); + $::FLOORBOX->add (1, $row, new CFClient::UI::Button + text => "More...", + on_activate => sub { $::INV_WINDOW->toggle_visibility }, + ); last; } }