summaryrefslogtreecommitdiffstats
path: root/src/plugins/graphicssystems
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2010-11-03 12:04:04 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2010-11-03 12:04:04 (GMT)
commit75648ab9c4f64830aa36753686bec1a8f91d2f7e (patch)
treed4c6d052014669ad84b1885643251eebe12b8bdd /src/plugins/graphicssystems
parentacc1a2bd5520369c690c2769f067aec6bfd869f2 (diff)
downloadQt-75648ab9c4f64830aa36753686bec1a8f91d2f7e.zip
Qt-75648ab9c4f64830aa36753686bec1a8f91d2f7e.tar.gz
Qt-75648ab9c4f64830aa36753686bec1a8f91d2f7e.tar.bz2
Doc: Fixing typo
Diffstat (limited to 'src/plugins/graphicssystems')
-rw-r--r--src/plugins/graphicssystems/meego/dithering.cpp6
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
+}