summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-16 21:42:31 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-01-16 21:42:31 +0100
commitea9a53721f81fe1c19334954b847c09fe0fe3ff1 (patch)
treed4e9144dab61a31d21cd555aac010ab44a686b76 /perl-install/mygtk3.pm
parentb909419d048f97902c28d46f406db19fb9031679 (diff)
downloaddrakx-ea9a53721f81fe1c19334954b847c09fe0fe3ff1.tar
drakx-ea9a53721f81fe1c19334954b847c09fe0fe3ff1.tar.gz
drakx-ea9a53721f81fe1c19334954b847c09fe0fe3ff1.tar.bz2
drakx-ea9a53721f81fe1c19334954b847c09fe0fe3ff1.tar.xz
drakx-ea9a53721f81fe1c19334954b847c09fe0fe3ff1.zip
fix a rpmdrake crash (mga#12331)
Diffstat (limited to 'perl-install/mygtk3.pm')
-rw-r--r--perl-install/mygtk3.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index 97e64290a..f9c614198 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -1433,6 +1433,7 @@ sub _text_insert {
}
}
} else {
+ $t ||= '';
if ($opts{append}) {
$buffer->insert($buffer->get_end_iter, $t);
} else {