gui:linux: Fix memory card dialog drag and drop assertion

The assertion is a wxDateTime invalid assertion. But I have no idea why
it happens, and why it only happens on Linux.
This commit is contained in:
Jonathan Li 2015-10-06 22:01:36 +01:00
parent 919bdf05fe
commit 80727aa4cc
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ wxString MemoryCardListView_Simple::OnGetItemText(long item, long column) const
case McdColS_Size: return prefix + ( !it.IsPresent ? L"" : (it.IsPSX? pxsFmt( L"%u MBit", it.SizeInMB ) : ( it.SizeInMB > 0 ? pxsFmt( L"%u MiB", it.SizeInMB ) : L"Auto" ) ) );
case McdColS_Formatted: return prefix + ( !it.IsPresent ? L"" : ( it.IsFormatted ? _("Yes") : _("No")) );
case McdColS_Type: return prefix + ( !it.IsPresent ? L"" : ( it.IsPSX? _("PSX") : _("PS2")) );
case McdColS_DateModified: return prefix + ( !it.IsPresent ? L"" : it.DateModified.FormatDate() );
case McdColS_DateCreated: return prefix + ( !it.IsPresent ? L"" : it.DateCreated.FormatDate() );
case McdColS_DateModified: return prefix + ( !it.IsPresent || !it.DateModified.IsValid() ? L"" : it.DateModified.FormatDate() );
case McdColS_DateCreated: return prefix + ( !it.IsPresent || !it.DateCreated.IsValid() ? L"" : it.DateCreated.FormatDate() );
case McdColS_Filename:
{