修订版 | 8ebd0d5f8da08f06c4c8279c343a3d1ef3d2eb3b (tree) |
---|---|
时间 | 2013-11-27 21:44:56 |
作者 | sdottaka <none@none> |
Commiter | sdottaka |
Fix crash when creating an archive file from Folder Compare window at the second time
--HG--
branch : stable
@@ -1046,8 +1046,7 @@ void CDirView::DirItemEnumerator::CompressArchive(LPCTSTR path) | ||
1046 | 1046 | String strFilter; // = CExternalArchiveFormat::GetOpenFileFilterString(); |
1047 | 1047 | strFilter.insert(0, _T_Filter); |
1048 | 1048 | strFilter += _T("|"); |
1049 | - // Make CFileDialog static to preserve settings across invocations: | |
1050 | - static CFileDialog dlg | |
1049 | + CFileDialog dlg | |
1051 | 1050 | ( |
1052 | 1051 | FALSE, |
1053 | 1052 | 0, |