mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
fix shadow stuff and initializers....
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@118 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -736,11 +736,11 @@ int CMsgBox::exec( int timeout, int returnDefaultOnTimeout)
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
bool CMsgBox::setText(const std::string* newText)
|
||||
{
|
||||
bool result = false;
|
||||
bool lresult = false;
|
||||
// update text in textbox if there is one
|
||||
if(m_pcTextBox != NULL && newText != NULL)
|
||||
{
|
||||
result = m_pcTextBox->setText(newText);
|
||||
lresult = m_pcTextBox->setText(newText);
|
||||
if(m_nMode & AUTO_WIDTH || m_nMode & AUTO_HIGH)
|
||||
{
|
||||
/* window might changed in size ...*/
|
||||
@@ -760,7 +760,7 @@ bool CMsgBox::setText(const std::string* newText)
|
||||
}
|
||||
}
|
||||
|
||||
return(result);
|
||||
return(lresult);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user