mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user