diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2010-10-25 11:44:39 (GMT) |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@nokia.com> | 2010-10-25 11:44:39 (GMT) |
commit | eb2b56bc4d6a226058c36233aaf5c13e39fa3dc2 (patch) | |
tree | 55606917a6237e82e807b4064df3aac0d79f79c0 /src/plugins | |
parent | f6c1530ea084cc4dc15c095d1ee5a8766bcd3022 (diff) | |
download | Qt-eb2b56bc4d6a226058c36233aaf5c13e39fa3dc2.zip Qt-eb2b56bc4d6a226058c36233aaf5c13e39fa3dc2.tar.gz Qt-eb2b56bc4d6a226058c36233aaf5c13e39fa3dc2.tar.bz2 |
Doc: Fixing typo
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/graphicssystems/meego/dithering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/graphicssystems/meego/dithering.cpp b/src/plugins/graphicssystems/meego/dithering.cpp index 6eeabd3..ba6b99b 100644 --- a/src/plugins/graphicssystems/meego/dithering.cpp +++ b/src/plugins/graphicssystems/meego/dithering.cpp @@ -146,7 +146,7 @@ unsigned short* convertRGB32_to_RGB565(const unsigned char *in, int width, int h // >> 7 because the values in accumulator are stored * 128 component[c] += accumulator[c][x] >> 7; - // Make sure we're not over the boundries. + // Make sure we're not over the boundaries. CLAMP_256(component[c]); // For green component we use 6 bits. Otherwise 5 bits. @@ -177,7 +177,7 @@ unsigned short* convertRGB32_to_RGB565(const unsigned char *in, int width, int h } // Converts incoming RGBA32 (QImage::Format_ARGB32_Premultiplied) to RGB565. Returns the newly allocated data. -// This function is similiar (yet different) to the _565 variant but it makes sense to duplicate it here for simplicity. +// This function is similar (yet different) to the _565 variant but it makes sense to duplicate it here for simplicity. unsigned short* convertARGB32_to_RGBA4444(const unsigned char *in, int width, int height, int stride) { // Will store output @@ -242,7 +242,7 @@ unsigned short* convertARGB32_to_RGBA4444(const unsigned char *in, int width, in // >> 7 because the values in accumulator are stored * 128 component[c] += accumulator[c][x] >> 7; - // Make sure we're not over the boundries. + // Make sure we're not over the boundaries. CLAMP_256(component[c]); // Store the difference from converting 8bit => 4bit and the orig pixel. |