summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-08 09:03:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-08 09:03:52 +0000
commit5e3622b7ee5cd13987f3d0754d22eb19c13385fb (patch)
tree47a20cf1f27c6a807e02b70aaf3ec5410103bccb
parentda5d831cb620d5083b459b3449444395ce47d112 (diff)
downloaddrakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.tar
drakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.tar.gz
drakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.tar.bz2
drakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.tar.xz
drakx-5e3622b7ee5cd13987f3d0754d22eb19c13385fb.zip
(show_prev) fix crash on image scaling
-rwxr-xr-xperl-install/standalone/draksplash2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash
index 1f427fa35..aba64745b 100755
--- a/perl-install/standalone/draksplash
+++ b/perl-install/standalone/draksplash
@@ -496,7 +496,7 @@ sub show_prev {
#-PO First %s is theme name, second %s (in parenthesis) is resolution
$prev_window->set_title(N("%s BootSplash (%s) preview", $theme{name}, $theme{res}{res}));
$prev_pic = gtkcreate_pixbuf($img_file);
- $prev_pic->scale_simple($theme{res}{w}, $theme{res}{h},0);
+ $prev_pic->scale_simple($theme{res}{w}, $theme{res}{h}, 'hyper');
$prev_pix = $prev_pic->render_pixmap_and_mask($prev_pic);
$prev_canvas && $prev_canvas->isa('Gtk2::Widget')
or $prev_canvas = new Gtk2::DrawingArea() and $prev_window->add($prev_canvas);