]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix warning.
authorRobert Roebling <robert@roebling.de>
Sun, 15 Feb 2004 18:38:36 +0000 (18:38 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 15 Feb 2004 18:38:36 +0000 (18:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/mimetype.cpp

index 316e8b0dd8eef5e57bd90da41cf5d72eb56fa2d5..367879ce18cf50508bf393e97f2a5d9cdeb4bc4f 100644 (file)
@@ -1069,7 +1069,8 @@ void wxMimeTypesManagerImpl::LoadKDELinksForMimeSubtype(const wxString& dirbase,
                 size_t nDir, nDirs = icondirs.GetCount();
                 for ( nDir = 0; nDir < nDirs; nDir++ )
                 {
-                    wxFileName fname( icondirs[nDir], strIcon );
+                    wxFileName fnameIcon( strIcon );
+                    wxFileName fname( icondirs[nDir], fnameIcon.GetName() );
                     fname.SetExt( wxT("png") );
                     if (fname.FileExists())
                     {