Skip to content

Commit

Permalink
Fix typos (#4298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snipie authored and Zeno- committed Jul 9, 2016
1 parent 27905f1 commit 4c530de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guiEngine.cpp
Expand Up @@ -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;

Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 4c530de

Please sign in to comment.