Fixed an assert.

It didn't appear in release, but it could have bitten me in the ass at
some point.
This commit is contained in:
Guillaume Jacquemin 2020-09-30 16:26:15 +02:00
parent 854a7bbcca
commit fdf72544fb

View file

@ -46,7 +46,7 @@ void EvtNameChangeDialog::textEditEvent(wxCommandEvent&) {
_lengthBitmap->SetBitmap(wxArtProvider::GetBitmap(wxART_CROSS_MARK, wxART_BUTTON));
}
_nameLength->SetLabel(wxString::Format("%u", value.length()));
_nameLength->SetLabel(wxString::Format("%zu", value.length()));
if(_nameInput->Validate() == true) {
_charsBitmap->SetBitmap(wxArtProvider::GetBitmap(wxART_TICK_MARK, wxART_BUTTON));