Fix incorrect use of NULL (aka nullptr on wxWidgets) instead of 0
This commit is contained in:
parent
c360bbba20
commit
3a04a1ee64
|
@ -798,7 +798,7 @@ PLUGIN_CONTENT_MANAGER::GetRepositoryPackageBitmaps( const wxString& aRepository
|
||||||
for( wxArchiveEntry* entry = zip.GetNextEntry(); entry; entry = zip.GetNextEntry() )
|
for( wxArchiveEntry* entry = zip.GetNextEntry(); entry; entry = zip.GetNextEntry() )
|
||||||
{
|
{
|
||||||
wxArrayString path_parts =
|
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" )
|
if( path_parts.size() != 2 || path_parts[1] != "icon.png" )
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue