From 7ee04717c24e174a00eee31f4ea6ac7add3dec42 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 20 Aug 2001 11:46:12 +0000 Subject: (wait_message_nextW): fix previous text == new text causing no expose_event causing dead loop --- perl-install/interactive_gtk.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm index 58541304c..be8359f05 100644 --- a/perl-install/interactive_gtk.pm +++ b/perl-install/interactive_gtk.pm @@ -755,10 +755,10 @@ sub wait_messageW($$$) { } sub wait_message_nextW { my ($o, $messages, $w) = @_; - my $msg = join "\n", @$messages; + my $msg = join("\n", warp_text(join "\n", @$messages)); return if $msg eq $w->{wait_messageW}->get; #- needed otherwise no expose_event :( $w->{displayed} = 0; - $w->{wait_messageW}->set(join("\n", warp_text($msg))); + $w->{wait_messageW}->set($msg); $w->flush until $w->{displayed}; } sub wait_message_endW { -- cgit v1.2.1