Skip to content

Commit

Permalink
修复堆栈溢出错误
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonflylee committed Oct 9, 2024
1 parent 2af493e commit e00a276
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SxsScan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ void CMainDlg::RecurveInsert(HTREEITEM hParent, CAssemblyNode *pParent)
for (size_t i = 0; i < pParent->Package.GetCount(); i++)
{
CAssemblyNode *pChild = pParent->Package.GetAt(i);
if (!pChild->szName.Compare(pParent->szName)) continue;
tvi.item.pszText = pChild->szName.GetBuffer();
tvi.item.lParam = reinterpret_cast<LPARAM>(pChild);
HTREEITEM hItem = TreeView_InsertItem(m_tree, &tvi);
Expand Down

0 comments on commit e00a276

Please sign in to comment.