Fix a typo that would prevent sampling factor changes.
authorSteinar H. Gunderson <sesse@debian.org>
Tue, 24 Jul 2007 20:45:44 +0000 (22:45 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Tue, 24 Jul 2007 20:45:44 +0000 (22:45 +0200)
perl/Sesse/pr0n/Common.pm

index 024d220f4628dd39df35a4deeb8cd5d2b3efd8a6..9b05d398c8583b20fab652435d1493cdca1e12d6 100644 (file)
@@ -404,7 +404,7 @@ sub ensure_cached {
                                        $parms{'interlace'} = 'Plane';
                                }
                                if (defined($sf)) {
-                                       $parms{'scaling-factor'} = $sf;
+                                       $parms{'sampling-factor'} = $sf;
                                }
                                $err = $cimg->write(%parms);
                        }