Skip to content

Commit

Permalink
Changed: Added additional small yoffset to the console command line c…
Browse files Browse the repository at this point in the history
…ursor in drawConsole.
  • Loading branch information
danij-deng committed Jul 16, 2011
1 parent 8a7e80a commit 08a662d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doomsday/engine/portable/src/rend_console.c
Expand Up @@ -761,7 +761,7 @@ static void drawConsole(float consoleAlpha)
if(Con_IsActive() && !Con_IsLocked())
{
float width, height, halfInterlineHeight = (lineHeight * scale[1]) / 8.f;
int xOffset, yOffset;
int xOffset, yOffset = 2 * scale[1];
char temp[LOCALBUFFSIZE];

// Where is the cursor?
Expand All @@ -770,13 +770,13 @@ static void drawConsole(float consoleAlpha)
xOffset = FR_TextWidth(temp);
if(Con_InputMode())
{
height = (lineHeight * scale[1]);
yOffset = halfInterlineHeight;
height = lineHeight * scale[1];
yOffset += halfInterlineHeight;
}
else
{
height = halfInterlineHeight;
yOffset = (lineHeight * scale[1]);
yOffset += lineHeight * scale[1];
}

// Dimensions of the current character.
Expand Down

0 comments on commit 08a662d

Please sign in to comment.