]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/img.pm
web commit by PatrickWinnertz
[ikiwiki.git] / IkiWiki / Plugin / img.pm
index cff9dabf082f3429e1bc6937aba9ed86ec9d00d4..a453a49ba43321c1261ae12db846c1c3adb88c5e 100644 (file)
@@ -62,7 +62,7 @@ sub preprocess (@) { #{{{
                        return "[[img ".sprintf(gettext("failed to read %s: %s"), $file, $r)."]]" if $r;
 
                        $r = $im->Resize(geometry => "${w}x${h}");
-                       return "[[img ".sprinftf(gettext("failed to resize: %s"), $r)."]]" if $r;
+                       return "[[img ".sprintf(gettext("failed to resize: %s"), $r)."]]" if $r;
 
                        # don't actually write file in preview mode
                        if (! $params{preview}) {