fix for bug#10810 - Help button can now point to local as well as online files - The local file can also be a relative file by using the Root variable for the CCKTool directory

git-svn-id: svn://10.0.0.236/trunk@64285 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
varada%netscape.com
2000-03-28 00:47:40 +00:00
parent 0d31dfb055
commit 5ec0842b15

View File

@@ -1456,11 +1456,13 @@ void CWizardMachineApp::HelpWiz()
{
CString helpvalue = (CurrentNode->localVars->wizbut->help);
CString helpvar = helpvalue.Left(6);
CString htmlfile ="";
if (helpvar.CompareNoCase("Online")== 0)
{
helpvalue.Delete(0,7);
// AfxMessageBox("online",MB_OK);
theInterpreter->OpenBrowser((char*)(LPCTSTR)helpvalue);
htmlfile = theInterpreter->replaceVars((char*)(LPCTSTR)helpvalue, NULL);
theInterpreter->OpenBrowser((char*)(LPCTSTR)htmlfile);
}
else
{