summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-20 10:17:59 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-20 10:17:59 +0000
commit43265e03d863eba1b3c7d2a4072c989f613b4f8e (patch)
tree9c9d9fde0f61b47ef373a9effd7a338524aed353
parent835bd306d76dc697944a78ec3e53259f48391fa8 (diff)
downloaddrakx-43265e03d863eba1b3c7d2a4072c989f613b4f8e.tar
drakx-43265e03d863eba1b3c7d2a4072c989f613b4f8e.tar.gz
drakx-43265e03d863eba1b3c7d2a4072c989f613b4f8e.tar.bz2
drakx-43265e03d863eba1b3c7d2a4072c989f613b4f8e.tar.xz
drakx-43265e03d863eba1b3c7d2a4072c989f613b4f8e.zip
fix #1829
-rwxr-xr-xperl-install/standalone/logdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index 448d4c978..143d3ff1d 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -486,5 +486,6 @@ print F $r;
sub save {
$::isWizard = 0;
$yy = $in->ask_file(N("Save as.."), "/root") or return;
- output($yy, $log_text->get_chars(0, $log_text->get_length()));
+ my $buf = $log_text->get_buffer;
+ output($yy, $buf->get_text($buf->get_start_iter, $buf->get_end_iter, 0));
}