Ticket #5493: 5493.patch

File 5493.patch, 729 bytes (added by David, 10 years ago)
  • src/interface/LocalListView.cpp

     
    16831683    for (std::vector<CLocalFileData>::iterator iter = m_fileData.begin(); iter != m_fileData.end(); iter++, i++)
    16841684    {
    16851685        const CLocalFileData& oldData = *iter;
     1686#ifdef __WXMSW__
     1687        if (oldData.name.CmpNoCase(file) != 0)
     1688#else
    16861689        if (oldData.name != file)
     1690#endif
    16871691            continue;
    16881692
     1693#ifdef __WXMSW__
     1694        // Make sure case of filename isn't changed in listing
     1695        data.name = oldData.name;
     1696        data.label = oldData.label;
     1697#endif
     1698
    16891699        // Update file list status bar
    16901700        if (m_pFilelistStatusBar)
    16911701        {