Remove redefinition of variable in same scope (#391)
This commit is contained in:
parent
41c134b1be
commit
ee8c6e3df7
@ -839,8 +839,8 @@ void Courtroom::set_widgets()
|
|||||||
ui_pre->setToolTip(
|
ui_pre->setToolTip(
|
||||||
tr("Play a single-shot animation as defined by the emote when checked."));
|
tr("Play a single-shot animation as defined by the emote when checked."));
|
||||||
|
|
||||||
pos_size_type design_ini_result =
|
design_ini_result =
|
||||||
ao_app->get_element_dimensions("immediate", "courtroom_design.ini");
|
ao_app->get_element_dimensions("immediate", "courtroom_design.ini");
|
||||||
|
|
||||||
// If we don't have new-style naming, fall back to the old method
|
// If we don't have new-style naming, fall back to the old method
|
||||||
if (design_ini_result.width < 0 || design_ini_result.height < 0)
|
if (design_ini_result.width < 0 || design_ini_result.height < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user