X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fcolor.cpp;h=6c4dd5b7beca7b9ceae4cacdb7227eb2346051bf;hb=5c2565765480697771497772fe7f6da76dd6b1e2;hp=a7b51337a2917a25277931a480a675232131e603;hpb=37600b4b217caa5e316984ec0b035c5e8f9698af;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/color.cpp b/synfig-core/trunk/src/synfig/color.cpp index a7b5133..6c4dd5b 100644 --- a/synfig-core/trunk/src/synfig/color.cpp +++ b/synfig-core/trunk/src/synfig/color.cpp @@ -385,7 +385,7 @@ blendfunc_DIVIDE(Color &a,Color &b,float amount) // We add COLOR_EPSILON in order to avoid a divide-by-zero condition. // This causes DIVIDE to bias toward positive values, but the effect is // really negligible. There is a reason why we use COLOR_EPSILON--we - // want the change to be imperceptable. + // want the change to be imperceptible. b.set_r(((b.get_r()/(a.get_r()+COLOR_EPSILON))-b.get_r())*(amount)+b.get_r()); b.set_g(((b.get_g()/(a.get_g()+COLOR_EPSILON))-b.get_g())*(amount)+b.get_g());