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
Родитель 733d9bada7
Коммит afd4be9807
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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")
{

Просмотреть файл

@ -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