Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1069,7 +1069,8 @@ void wxMimeTypesManagerImpl::LoadKDELinksForMimeSubtype(const wxString& dirbase,
|
|||||||
size_t nDir, nDirs = icondirs.GetCount();
|
size_t nDir, nDirs = icondirs.GetCount();
|
||||||
for ( nDir = 0; nDir < nDirs; nDir++ )
|
for ( nDir = 0; nDir < nDirs; nDir++ )
|
||||||
{
|
{
|
||||||
wxFileName fname( icondirs[nDir], strIcon );
|
wxFileName fnameIcon( strIcon );
|
||||||
|
wxFileName fname( icondirs[nDir], fnameIcon.GetName() );
|
||||||
fname.SetExt( wxT("png") );
|
fname.SetExt( wxT("png") );
|
||||||
if (fname.FileExists())
|
if (fname.FileExists())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user