aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-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 {