Skip to content

Commit

Permalink
Fix uninitialized m_focus_on_cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
Benau committed Jun 2, 2021
1 parent 6c2c513 commit e347c72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/states_screens/dialogs/message_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ MessageDialog::MessageDialog(const irr::core::stringw &msg, bool from_queue)
m_type = MessageDialog::MESSAGE_DIALOG_OK;
m_listener = NULL;
m_own_listener = false;
m_focus_on_cancel = false;
if (!from_queue) doInit(false);
} // MessageDialog(stringw)

Expand Down

0 comments on commit e347c72

Please sign in to comment.