aboutsummaryrefslogtreecommitdiff
path: root/src/guiEngine.cpp
diff options
context:
space:
mode:
authorSnipie <poganiac@gmail.com>2016-07-09 14:00:14 +0000
committerZeno- <kde.psych@gmail.com>2016-07-10 00:00:14 +1000
commit4c530dea1a156c1ae307b5f304fb55d0619ee372 (patch)
treea0db5bf84d43b910d61bf3cf13c03e867ae8b6ec /src/guiEngine.cpp
parent27905f1a4a87a284e95673eeee2440a806b15d16 (diff)
downloadminetest-4c530dea1a156c1ae307b5f304fb55d0619ee372.tar.gz
minetest-4c530dea1a156c1ae307b5f304fb55d0619ee372.tar.bz2
minetest-4c530dea1a156c1ae307b5f304fb55d0619ee372.zip
Fix typos (#4298)
Diffstat (limited to 'src/guiEngine.cpp')
-rw-r--r--src/guiEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guiEngine.cpp b/src/guiEngine.cpp
index e15533dcd..a3c35f68d 100644
--- a/src/guiEngine.cpp
+++ b/src/guiEngine.cpp
@@ -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) {