msgbox: deobfuscate assignment of default result value

Origin commit data
------------------
Branch: ni/coolstream
Commit: 2cef61bd8e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-03-07 (Tue, 07 Mar 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2017-03-07 19:46:30 +01:00
committed by vanhofen
parent 938e4c22f8
commit 00b109d321

View File

@@ -101,10 +101,8 @@ void CMsgBox::init(const int& Height, const int& ShowButtons, const msg_result_t
shadow = CC_SHADOW_ON;
//set result
if (Default_result != mbrNone)
result = default_result = Default_result;
else
result = mbrNone;
//add and initialize footer buttons with required buttons and basic properties
if (ShowButtons > -1)
mb_show_button = ShowButtons;