Remove redefinition of variable in same scope (#391)

This commit is contained in:
Skye Deving 2021-01-09 13:41:52 -06:00 committed by GitHub
parent 41c134b1be
commit ee8c6e3df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -839,8 +839,8 @@ void Courtroom::set_widgets()
ui_pre->setToolTip(
tr("Play a single-shot animation as defined by the emote when checked."));
pos_size_type design_ini_result =
ao_app->get_element_dimensions("immediate", "courtroom_design.ini");
design_ini_result =
ao_app->get_element_dimensions("immediate", "courtroom_design.ini");
// 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)