From 93245ec1481be765870be6ff4e740cb235262e5b Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Thu, 11 Jul 2002 23:23:53 +0000 Subject: [PATCH] Fix for bugscape bug 17654: Blank OS and Language-Region dropdown menu using previous existing config files (r=mitchf) --- cck/driver/WizardMachine.cpp | 5 ++++- cck/driver/cck.che | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cck/driver/WizardMachine.cpp b/cck/driver/WizardMachine.cpp index 30c1543bf2ce..96baf95a6dd4 100644 --- a/cck/driver/WizardMachine.cpp +++ b/cck/driver/WizardMachine.cpp @@ -576,7 +576,10 @@ NODE* CWizardMachineApp::CreateNode(NODE *parentNode, CString iniFile) NewNode->localVars->image = buffer; GetPrivateProfileString(varSection, "Visibility", "", buffer, MAX_SIZE, iniFile); NewNode->localVars->visibility = buffer; - + GetPrivateProfileString(varSection, "Version", "", buffer, MAX_SIZE, iniFile); + if (strcmp(buffer,"") != 0) + SetGlobal("Version",buffer); + NewNode->navControls = new CONTROLS; GetPrivateProfileString(navCtrlSection, "OnNext", "", buffer, MAX_SIZE, iniFile); NewNode->navControls->onNextAction = buffer; diff --git a/cck/driver/cck.che b/cck/driver/cck.che index bec57c005500..f7b3eddeebab 100644 --- a/cck/driver/cck.che +++ b/cck/driver/cck.che @@ -35,7 +35,6 @@ Gopherportno=0 HTTPportno=0 SSLportno=0 SOCKSportno=0 -Version=7.0 lPlatform=Windows Language=English-United States (enus) ClientVersion=7.0