fix bustage on mac

This commit is contained in:
morse%netscape.com 2000-01-15 10:44:40 +00:00
parent f71937910e
commit df7715adc9

View File

@ -1948,7 +1948,8 @@ SINGSIGN_RememberSignonData (char* URLName, nsVoidArray * signonData)
/* one-password form is a log-in so remember it */
/* obtain the index of the first input field (that is the username) */
for (PRInt32 j=0; j<signonData->Count(); j++) {
PRInt32 j;
for (j=0; j<signonData->Count(); j++) {
data = NS_STATIC_CAST(si_SignonDataStruct*, signonData->ElementAt(j));
if (!data->isPassword) {
break;