mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 12:07:52 +00:00
getting rid of relative paths in wizardmachine.cpp and wizardui.cpp for generate lists
This commit is contained in:
parent
394cee9a9b
commit
26bfd2069e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user