зеркало из https://github.com/mozilla/pjs.git
getting rid of relative paths in wizardmachine.cpp and wizardui.cpp for generate lists
This commit is contained in:
Родитель
733d9bada7
Коммит
afd4be9807
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче