mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fix crash in 64 bit build, because size_t can't be used with a %d format string
This commit is contained in:
@@ -106,7 +106,7 @@ void ExportWindowBase::update() {
|
||||
if (select_cards) {
|
||||
select_cards->Enable(choice.type == EXPORT_SEL_CUSTOM);
|
||||
}
|
||||
card_count->SetLabel(_LABEL_1_("selected card count", String::Format(_("%d"),cards->size())));
|
||||
card_count->SetLabel(_LABEL_1_("selected card count", std::to_string(cards->size())));
|
||||
wxWindow* ok_btn = FindWindow(wxID_OK);
|
||||
if (ok_btn) ok_btn->Enable(!cards->empty());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user