msgbox: deobfuscate assignment of default result value

Origin commit data
------------------
Commit: 2cef61bd8e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-03-07 (Tue, 07 Mar 2017)
This commit is contained in:
Stefan Seyfried
2017-03-07 19:46:30 +01:00
committed by vanhofen
parent 4110492797
commit e56dde123a

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;
result = default_result = Default_result;
//add and initialize footer buttons with required buttons and basic properties
if (ShowButtons > -1)
mb_show_button = ShowButtons;