diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2010-11-03 12:04:04 (GMT) |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@nokia.com> | 2010-11-03 12:04:04 (GMT) |
commit | 75648ab9c4f64830aa36753686bec1a8f91d2f7e (patch) | |
tree | d4c6d052014669ad84b1885643251eebe12b8bdd /src | |
parent | acc1a2bd5520369c690c2769f067aec6bfd869f2 (diff) | |
download | Qt-75648ab9c4f64830aa36753686bec1a8f91d2f7e.zip Qt-75648ab9c4f64830aa36753686bec1a8f91d2f7e.tar.gz Qt-75648ab9c4f64830aa36753686bec1a8f91d2f7e.tar.bz2 |
Doc: Fixing typo
Diffstat (limited to 'src')
-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 122c51e..1a2e3fa 100644 --- a/src/plugins/graphicssystems/meego/dithering.cpp +++ b/src/plugins/graphicssystems/meego/dithering.cpp @@ -76,7 +76,7 @@ // Converts incoming RGB32 (QImage::Format_RGB32) to RGB565. Returns the newly allocated data. unsigned short* convertRGB32_to_RGB565(const unsigned char *in, int width, int height, int stride) { - // Output line stride. Alligned to 4 bytes. + // Output line stride. Aligned to 4 bytes. int alignedWidth = width; if (alignedWidth % 2 > 0) alignedWidth++; @@ -191,7 +191,7 @@ unsigned short* convertRGB32_to_RGB565(const unsigned char *in, int width, int h // The output has each scan line aligned to 4 bytes (as expected by GL by default). unsigned short* convertARGB32_to_RGBA4444(const unsigned char *in, int width, int height, int stride) { - // Output line stride. Alligned to 4 bytes. + // Output line stride. Aligned to 4 bytes. int alignedWidth = width; if (alignedWidth % 2 > 0) alignedWidth++; @@ -303,4 +303,4 @@ unsigned char* convertBGRA32_to_RGBA32(const unsigned char *in, int width, int h } return out; -}
\ No newline at end of file +} |