Fix for bugscape 16908: Reorder additional components (r=mitchf)

git-svn-id: svn://10.0.0.236/trunk@126925 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shrutiv%netscape.com
2002-08-10 00:31:59 +00:00
parent 6601e7a688
commit ca81057f70
2 changed files with 42 additions and 5 deletions

View File

@@ -230,10 +230,10 @@ int GenerateComponentList(CString parms, WIDGET *curWidget)
curWidget->options.value[i] = new char[strlen(Components[i].name)+1];
strcpy(curWidget->options.value[i], Components[i].name);
curWidget->optDesc.name[i] = new char[strlen(Components[i].compname)+1];
curWidget->optDesc.name[i] = new char[MIN_SIZE];
strcpy(curWidget->optDesc.name[i], Components[i].compname);
curWidget->optDesc.value[i] = new char[strlen(Components[i].desc)+1];
curWidget->optDesc.value[i] = new char[MIN_SIZE];
strcpy(curWidget->optDesc.value[i], Components[i].desc);
// INVISIBLE just means not selected, let user decide whether to