Browse Source

IO_BASE: don't try to modify the case of a temporary string in-place, work on a copy

revert-0c36e162
Tomasz Wlostowski 10 months ago
parent
commit
6a0efe6883
  1. 2
      common/io/io_base.cpp

2
common/io/io_base.cpp

@ -76,7 +76,7 @@ bool IO_BASE::CanReadLibrary( const wxString& aFileName ) const
{
const std::vector<std::string>& exts = desc.m_FileExtensions;
wxString fileExt = wxFileName( aFileName ).GetExt().MakeLower();
wxString fileExt = wxFileName( aFileName ).GetExt().Lower();
for( const std::string& ext : exts )
{

Loading…
Cancel
Save