CMessageBox: Buttons draw better

- Missing 'else' added.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2075 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: d85f287f5e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-01-25 (Wed, 25 Jan 2012)

Origin message was:
------------------
* CMessageBox: Buttons draw better

- Missing 'else' added.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2075 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2012-01-25 04:23:36 +00:00
parent 967b826331
commit 463b37fe21

View File

@@ -131,7 +131,7 @@ void CMessageBox::paintButtons()
int xpos = (m_width - bb_width) / 2;
if (mbBtnAlign == CMessageBox::mbBtnAlignCenter1)
xpos = ButtonDistance;
if (mbBtnAlign == CMessageBox::mbBtnAlignCenter2)
else if (mbBtnAlign == CMessageBox::mbBtnAlignCenter2)
xpos = (m_width - bb_width) / 2;
else if (mbBtnAlign == CMessageBox::mbBtnAlignLeft)
xpos = ButtonSpacing;