diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-03 10:47:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-03 10:47:36 +0000 |
commit | 5920f21a1c4b5bb13d86b6052fbd072cdda95477 (patch) | |
tree | 2c44d8bf0fb329693e5e6c4e9a2a7ec254fa69f8 /Rpmdrake | |
parent | 8291e63b384bbf6d9cc743b86373d08d7dc6bcc6 (diff) | |
download | rpmdrake-5920f21a1c4b5bb13d86b6052fbd072cdda95477.tar rpmdrake-5920f21a1c4b5bb13d86b6052fbd072cdda95477.tar.gz rpmdrake-5920f21a1c4b5bb13d86b6052fbd072cdda95477.tar.bz2 rpmdrake-5920f21a1c4b5bb13d86b6052fbd072cdda95477.tar.xz rpmdrake-5920f21a1c4b5bb13d86b6052fbd072cdda95477.zip |
(get_name) make it work for rpmdrake too
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/gui.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index cc527f2b..715be140 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -248,8 +248,7 @@ sub update_size { sub get_name { my ($name) = @_; - ($name) = $name =~ m!<b>(.*)</b>!; - return $name; + return $name=~ m!<b>(.*)</b>! ? $1 : $name; } sub children { |