(svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the middle; let it follow the setting of the statusbar instead

This commit is contained in:
rubidium
2010-11-18 19:24:40 +00:00
parent 60e153002c
commit 16c90ed48b
4 changed files with 23 additions and 3 deletions

View File

@@ -328,6 +328,8 @@ struct NewsWindow : Window {
nvp->disp_flags |= ND_SHADE_DIMMED;
}
}
PositionNewsMessage(this);
}
void DrawNewsBorder(const Rect &r) const
@@ -342,7 +344,7 @@ struct NewsWindow : Window {
virtual Point OnInitialPosition(const WindowDesc *desc, int16 sm_width, int16 sm_height, int window_number)
{
Point pt = { (_screen.width - max(sm_width, desc->default_width)) / 2, _screen.height };
Point pt = { 0, _screen.height };
return pt;
}