fix paste error. ros-diffs yet again proves its worth

svn path=/trunk/; revision=44683
This commit is contained in:
Ged Murphy 2009-12-21 16:20:08 +00:00
parent be248aceed
commit de4b8e65b8

View file

@ -233,7 +233,7 @@ DependenciesPageProc(HWND hwndDlg,
else if (lpnmtv->hdr.idFrom == IDC_DEPEND_TREE2)
{
/* Has this node been expanded before */
if (!TreeView_GetChild(pDlgInfo->hDependsTreeView1, lpnmtv->itemNew.hItem))
if (!TreeView_GetChild(pDlgInfo->hDependsTreeView2, lpnmtv->itemNew.hItem))
{
/* It's not, add the children */
TV2_AddDependantsToTree(pDlgInfo, lpnmtv->itemNew.hItem, (LPTSTR)lpnmtv->itemNew.lParam);