Fix typos (#4298)
authorSnipie <poganiac@gmail.com>
Sat, 9 Jul 2016 14:00:14 +0000 (14:00 +0000)
committerZeno- <kde.psych@gmail.com>
Sat, 9 Jul 2016 14:00:14 +0000 (00:00 +1000)
src/guiEngine.cpp

index e15533dcde6377ba2bd1813ab8d66ff85fe96292..a3c35f68de2ba336f849a1310432fdadfa9a3519 100644 (file)
@@ -433,7 +433,7 @@ void GUIEngine::drawOverlay(video::IVideoDriver* driver)
 
        video::ITexture* texture = m_textures[TEX_LAYER_OVERLAY].texture;
 
-       /* If no texture, draw background of solid color */
+       /* If no texture, draw nothing */
        if(!texture)
                return;
 
@@ -462,7 +462,7 @@ void GUIEngine::drawHeader(video::IVideoDriver* driver)
        v2s32 splashsize(((f32)texture->getOriginalSize().Width) * mult,
                        ((f32)texture->getOriginalSize().Height) * mult);
 
-       // Don't draw the header is there isn't enough room
+       // Don't draw the header if there isn't enough room
        s32 free_space = (((s32)screensize.Height)-320)/2;
 
        if (free_space > splashsize.Y) {