summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/logdrake
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 /perl-install/standalone/logdrake
parent835bd306d76dc697944a78ec3e53259f48391fa8 (diff)
downloaddrakx-backup-do-not-use-43265e03d863eba1b3c7d2a4072c989f613b4f8e.tar
drakx-backup-do-not-use-43265e03d863eba1b3c7d2a4072c989f613b4f8e.tar.gz
drakx-backup-do-not-use-43265e03d863eba1b3c7d2a4072c989f613b4f8e.tar.bz2
drakx-backup-do-not-use-43265e03d863eba1b3c7d2a4072c989f613b4f8e.tar.xz
drakx-backup-do-not-use-43265e03d863eba1b3c7d2a4072c989f613b4f8e.zip
fix #1829
Diffstat (limited to 'perl-install/standalone/logdrake')
-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));
}