aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-03 10:47:36 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-03 10:47:36 +0000
commit5920f21a1c4b5bb13d86b6052fbd072cdda95477 (patch)
tree2c44d8bf0fb329693e5e6c4e9a2a7ec254fa69f8
parent8291e63b384bbf6d9cc743b86373d08d7dc6bcc6 (diff)
downloadrpmdrake-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
-rw-r--r--Rpmdrake/gui.pm3
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 {