diff options
| author | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-09 13:41:52 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-09 22:41:52 +0300 |
| commit | ee8c6e3df7eaf7317ff241cd6821c61b1eb0c52a (patch) | |
| tree | a941d01d698bbb8a218a3b167179304a7109e6cc /src | |
| parent | 41c134b1be39de2d888e0064fa6fbe8fae8915b6 (diff) | |
Remove redefinition of variable in same scope (#391)
Diffstat (limited to 'src')
| -rw-r--r-- | src/courtroom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index ad401bb6..49920153 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -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) |
