diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-03 23:17:56 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-03 23:17:56 +0200 |
| commit | a7a8cd74f2f32de8b708c78cc8bc9c0cf17d60f5 (patch) | |
| tree | cb582fa9ed35e1c7383675761b5955922aef3617 /src/wx/nag_dialog.cc | |
| parent | 996d8defbb783e5c82ef31a71fb6a06a6a5ab873 (diff) | |
Show an explanatory message if the player is not performing very well (#1932).
Diffstat (limited to 'src/wx/nag_dialog.cc')
| -rw-r--r-- | src/wx/nag_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/nag_dialog.cc b/src/wx/nag_dialog.cc index 466b80b6b..85f2d0110 100644 --- a/src/wx/nag_dialog.cc +++ b/src/wx/nag_dialog.cc @@ -70,7 +70,7 @@ NagDialog::maybe_nag (wxWindow* parent, Config::Nag nag, wxString message, bool return false; } - NagDialog* d = new NagDialog (parent, nag, message, can_cancel); + auto d = new NagDialog (parent, nag, message, can_cancel); int const r = d->ShowModal(); d->Destroy (); |
