Fixed a typo.

This commit is contained in:
Gregory Shikhman 2009-08-19 14:48:53 +00:00
parent b1ff37b8d2
commit f438163d9a

View file

@ -459,7 +459,7 @@ void ttext::recalculate(const bool force) const
static void decode_pixel(const unsigned char alpha, unsigned char *sub_pixel)
{
unsigned colour = *sub_pixel;
// Sature at 255.
// Saturate at 255.
*sub_pixel = colour >= alpha
? 255
: static_cast<unsigned char>((colour << 8) / alpha);