if (mNumOptions >= index) { mOptionSelected[index] = aValue;
if (mNumOptions >= indx) { mOptionSelected[indx] = aValue;
void nsSelectControlFrame::SetOptionSelected(PRUint32 index, PRBool aValue){  if (nsnull != mOptionSelected) {    if (mNumOptions >= index) {      mOptionSelected[index] = aValue;    }  }}         