- Fixed: 1 pixel border was drawn when there was no status bar.

SVN r3782 (trunk)
This commit is contained in:
Braden Obrzut 2012-07-22 03:06:51 +00:00
parent 12ef53a2ff
commit c53a4f3ae1

View file

@ -1043,8 +1043,11 @@ void DBaseStatusBar::RefreshBackground () const
if(!CompleteBorder)
{
V_DrawBorder (x+1, y, SCREENWIDTH, y+1);
V_DrawBorder (x+1, SCREENHEIGHT-1, SCREENWIDTH, SCREENHEIGHT);
if(y < SCREENHEIGHT)
{
V_DrawBorder (x+1, y, SCREENWIDTH, y+1);
V_DrawBorder (x+1, SCREENHEIGHT-1, SCREENWIDTH, SCREENHEIGHT);
}
}
else
{