getting rid of relative paths in wizardmachine.cpp and wizardui.cpp for generate lists

This commit is contained in:
varada%netscape.com 1999-10-15 01:38:25 +00:00
parent 394cee9a9b
commit 26bfd2069e
2 changed files with 3 additions and 3 deletions

View File

@ -1468,7 +1468,7 @@ void CWizardMachineApp::GenerateList(CString action, WIDGET* targetWidget, CStri
WIDGET* curWidget = targetWidget;
CFileFind fileList;
BOOL dirFound = fileList.FindFile(CString(currDirPath) + parentDirPath);
BOOL dirFound = fileList.FindFile(parentDirPath);
if(curWidget->type == "ListBox")
{

View File

@ -956,7 +956,7 @@ void CWizardUI::CreateControls()
if (curWidget->action.function == "GenerateFileList" ||
curWidget->action.function == "GenerateDirList")
{
CString ext = CString(curWidget->action.parameters);
CString ext = theInterpreter->replaceVars(curWidget->action.parameters,NULL);
theApp.GenerateList(curWidget->action.function, curWidget, ext);
}
else
@ -988,7 +988,7 @@ void CWizardUI::CreateControls()
if (curWidget->action.function == "GenerateFileList" ||
curWidget->action.function == "GenerateDirList")
{
CString ext = CString(curWidget->action.parameters);
CString ext = theInterpreter->replaceVars(curWidget->action.parameters,NULL);
theApp.GenerateList(curWidget->action.function, curWidget, ext);
}
else