M_Popup: align the same as the old popups

This commit is contained in:
svdijk 2013-04-26 18:55:23 +02:00
parent 082c2d454f
commit 8e1bb70932

View file

@ -490,10 +490,10 @@ M_Popup(void)
if (width)
{
width += 2;
width += 2 + (width & 1);
x = (320 - (width + 2) * 8) / 2;
y = (240 - (lines + 2) * 8) / 2;
y = (240 - (lines + 2) * 8) / 2 - 28;
M_DrawTextBox(x, y, width, lines);
M_Print(x + 16, y + 8, m_popup_string);