From 4c7025835244a71753ce3a30e6e2652a933c2391 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 16 Apr 2019 20:41:13 +0100 Subject: [PATCH] typos --- ext/handle_pixel/main.php | 4 ++-- ext/res_limit/main.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/handle_pixel/main.php b/ext/handle_pixel/main.php index aece7d4b..165b1d65 100644 --- a/ext/handle_pixel/main.php +++ b/ext/handle_pixel/main.php @@ -92,7 +92,7 @@ class PixelFileHandler extends DataHandlerExtension { $q = $config->get_int("thumb_quality"); $convert = $config->get_string("thumb_convert_path"); - // ffff imagemagic fails sometimes, not sure why + // ffff imagemagick fails sometimes, not sure why //$format = "'%s' '%s[0]' -format '%%[fx:w] %%[fx:h]' info:"; //$cmd = sprintf($format, $convert, $inname); //$size = shell_exec($cmd); @@ -107,7 +107,7 @@ class PixelFileHandler extends DataHandlerExtension { $cmd = str_replace("\"convert\"", "convert", $cmd); // quotes are only needed if the path to convert contains a space; some other times, quotes break things, see github bug #27 exec($cmd, $output, $ret); - log_debug('handle_pixel', "Generating thumnail with command `$cmd`, returns $ret"); + log_debug('handle_pixel', "Generating thumbnail with command `$cmd`, returns $ret"); if($config->get_bool("thumb_optim", false)) { exec("jpegoptim $outname", $output, $ret); diff --git a/ext/res_limit/main.php b/ext/res_limit/main.php index 82cb40c1..609fb0f4 100644 --- a/ext/res_limit/main.php +++ b/ext/res_limit/main.php @@ -4,7 +4,7 @@ * Author: Shish * Link: http://code.shishnet.org/shimmie2/ * License: GPLv2 - * Description: Allows the admin to set min / max image dimentions + * Description: Allows the admin to set min / max image dimensions */ class ResolutionLimit extends Extension { public function get_priority(): int {return 40;} // early, to veto ImageUploadEvent