diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-10 16:53:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-10 16:53:33 +0000 |
commit | e960261f9f6acc62c8d560b6010da396d9a4f390 (patch) | |
tree | eef5d66456e0e40647912db56550dea38872b1a3 /Rpmdrake | |
parent | a29fa866dbb7dfa41a18da4d636639fb39634b72 (diff) | |
download | rpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.tar rpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.tar.gz rpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.tar.bz2 rpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.tar.xz rpmdrake-e960261f9f6acc62c8d560b6010da396d9a4f390.zip |
(get_summary) simplify (since perl-URPM-1.56, perl knows that strings from rpm
headers are UTF-8)
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 6cf047f9..102b88be 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -71,7 +71,7 @@ sub compute_main_window_size { sub get_summary { my ($key) = @_; - my $summary = translate(to_utf8($pkgs->{$key}{summary})); + my $summary = translate($pkgs->{$key}{summary}); utf8::valid($summary) ? $summary : (); } |