Fix incorrect use of NULL (aka nullptr on wxWidgets) instead of 0

This commit is contained in:
jean-pierre charras 2021-12-12 09:09:50 +01:00
parent c360bbba20
commit 3a04a1ee64
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ PLUGIN_CONTENT_MANAGER::GetRepositoryPackageBitmaps( const wxString& aRepository
for( wxArchiveEntry* entry = zip.GetNextEntry(); entry; entry = zip.GetNextEntry() )
{
wxArrayString path_parts =
wxSplit( entry->GetName(), wxFileName::GetPathSeparator(), (wxChar) NULL );
wxSplit( entry->GetName(), wxFileName::GetPathSeparator(), (wxChar) 0 );
if( path_parts.size() != 2 || path_parts[1] != "icon.png" )
continue;