X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..22a3b6e4b2010f425a54708e46b1b463bd2817a7:/demos/forty/playerdg.cpp diff --git a/demos/forty/playerdg.cpp b/demos/forty/playerdg.cpp index 7f5effaa32..b1b1f71e07 100644 --- a/demos/forty/playerdg.cpp +++ b/demos/forty/playerdg.cpp @@ -114,7 +114,7 @@ void PlayerSelectionDialog::ButtonCallback(wxCommandEvent& event) if (event.GetId() == wxID_OK) { wxString name = m_textField->GetValue(); - if (!name.IsNull() && name.Length() > 0) + if ( !name.empty() ) { if (name.Contains(wxT('@'))) {