if (gControls->cfg->comp[i].selected == true)
if ((gControls->cfg->comp[i].selected == true) && (gControls->cfg->st[instChoice].comp[i] == kInSetupType))
DiskSpaceNeeded(void){	char *cSpaceNeeded;	short i;	long spaceNeeded = 0;		/* loop through all components cause they may be scattered through 	 * the array for this particular setup type 	 */	for (i=0; i<kMaxComponents; i++)	{			if (gControls->cfg->comp[i].selected == true)		{			spaceNeeded += gControls->cfg->comp[i].size;		}	}		cSpaceNeeded = ltoa(spaceNeeded);		return cSpaceNeeded;}