diff options
author | Willem Jan Palenstijn | 2013-09-29 22:49:01 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-09-29 22:49:07 +0200 |
commit | 1c3202794ad71e59e9496b94ac51f102f8210b54 (patch) | |
tree | f0651b7ee7090b10e1b92e2b8706be0192c8a84f /engines | |
parent | 2242917dda89cfdf2dd9f15748b5bdb1b4bbe1c3 (diff) | |
download | scummvm-rg350-1c3202794ad71e59e9496b94ac51f102f8210b54.tar.gz scummvm-rg350-1c3202794ad71e59e9496b94ac51f102f8210b54.tar.bz2 scummvm-rg350-1c3202794ad71e59e9496b94ac51f102f8210b54.zip |
WINTERMUTE: Fix typo in comment
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/font/base_font_truetype.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/font/base_font_truetype.cpp b/engines/wintermute/base/font/base_font_truetype.cpp index cc0b9d340a..8e0eb8a004 100644 --- a/engines/wintermute/base/font/base_font_truetype.cpp +++ b/engines/wintermute/base/font/base_font_truetype.cpp @@ -291,13 +291,13 @@ BaseSurface *BaseFontTT::renderTextToTexture(const WideString &text, int width, // Reconstruct the alpha channel of the font. // Since we painted it with color 0xFFFFFFFF onto a black background, - // the alpha channel is gone, but the colour value of each pixel corresponds + // the alpha channel is gone, but the color value of each pixel corresponds // to its original alpha value. Graphics::PixelFormat format = _gameRef->_renderer->getPixelFormat(); uint32 *pixels = (uint32 *)convertedSurface->getPixels(); - // This is a Surface we created ourselves, so no emtpy space between rows. + // This is a Surface we created ourselves, so no empty space between rows. for (int i = 0; i < surface->w * surface->h; ++i) { uint8 a, r, g, b; format.colorToRGB(*pixels, r, g, b); |