removing relative paths and evaluating absolute ones

git-svn-id: svn://10.0.0.236/trunk@50801 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
varada%netscape.com
1999-10-15 06:51:03 +00:00
parent 20b7b8aa72
commit 1882311d32
2 changed files with 5 additions and 2 deletions

View File

@@ -572,7 +572,7 @@ BOOL CWizardUI::NewConfig(WIDGET *curWidget, CString globalsName)
return FALSE;
CString tmpFunction = tmpWidget->action.function;
CString params = CString(tmpWidget->action.parameters);
CString params = theInterpreter->replaceVars(tmpWidget->action.parameters,NULL);
theApp.GenerateList(tmpFunction, tmpWidget, params);
((CComboBox*)tmpWidget->control)->SelectString(0, configField);

View File

@@ -440,7 +440,10 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
w = theApp.findWidget(parms);
if (w)
theApp.GenerateList(pcmd, w, p2);
{
CString p2path = replaceVars(p2,NULL);
theApp.GenerateList(pcmd, w, p2path);
}
}
else if (strcmp(pcmd, "BrowseFile") == 0)
{