From a1d1c6b0b44493e8ee5ca5a128ed11ca8d39c6eb Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Tue, 12 Jan 2016 17:38:37 +0300 Subject: [PATCH] aefaef --- lib/image.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/image.lua b/lib/image.lua index 91631101..2ff61bbb 100644 --- a/lib/image.lua +++ b/lib/image.lua @@ -850,7 +850,7 @@ end ------------------------------------------ Функции для работы с цветом ----------------------------------------------- -function image.hueSaturationBrigtness(picture, hue, saturation, brightness) +function image.hueSaturationBrightness(picture, hue, saturation, brightness) local function calculateBrightnessChanges(color) local h, s, b = colorlib.HEXtoHSB(color) b = b + brightness; if b < 0 then b = 0 elseif b > 100 then b = 100 end