OSDN Git Service

Fix crash when creating an archive file from Folder Compare window at the second...
authorsdottaka <none@none>
Wed, 27 Nov 2013 12:44:56 +0000 (21:44 +0900)
committersdottaka <none@none>
Wed, 27 Nov 2013 12:44:56 +0000 (21:44 +0900)
--HG--
branch : stable

Src/7zCommon.cpp

index 7d4751a..b1f4ae8 100644 (file)
@@ -1046,8 +1046,7 @@ void CDirView::DirItemEnumerator::CompressArchive(LPCTSTR path)
                String strFilter; // = CExternalArchiveFormat::GetOpenFileFilterString();
                strFilter.insert(0, _T_Filter);
                strFilter += _T("|");
-               // Make CFileDialog static to preserve settings across invocations:
-               static CFileDialog dlg
+               CFileDialog dlg
                (
                        FALSE,
                        0,