• R/O
  • HTTP
  • SSH
  • HTTPS

winmerge-jp: 提交


Commit MetaInfo

修订版9f6b7434578cb14e22128ba0736e0a655b26bb3d (tree)
时间2013-05-20 02:45:01
作者sdottaka <none@none>
Commitersdottaka

Log Message

Fix crash when opening SelectUnpackerDlg

更改概述

差异

--- a/Src/SelectUnpackerDlg.cpp
+++ b/Src/SelectUnpackerDlg.cpp
@@ -78,13 +78,15 @@ void CSelectUnpackerDlg::Initialize()
7878 for (i = 0 ; i < piFileScriptArray->size() ; i++)
7979 {
8080 // during the dialog, we use a pointer to the scriptsOfThreads array
81- m_UnpackerPlugins.Add(&piFileScriptArray->at(i));
81+ const PluginInfoPtr& plugin = piFileScriptArray->at(i);
82+ m_UnpackerPlugins.Add(plugin.get());
8283 m_bWithFileFlags.push_back(true);
8384 }
8485 for (i = 0 ; i < piBufferScriptArray->size() ; i++)
8586 {
8687 // during the dialog, we use a pointer to the scriptsOfThreads array
87- m_UnpackerPlugins.Add(&piBufferScriptArray->at(i));
88+ const PluginInfoPtr& plugin = piBufferScriptArray->at(i);
89+ m_UnpackerPlugins.Add(plugin.get());
8890 m_bWithFileFlags.push_back(false);
8991 }
9092 }
Show on old repository browser