| # | Line 33 | Line 33 | register OBJREC *op; | |
|---|---|---|
| 33 | ||
| 34 | for (i = nobjects>>6; i >= 0; i--) { | |
| 35 | j = op - objblock[i]; | |
| 36 | < | if (j >= 0 && j < 077) |
| 36 | > | if (j >= 0 && j < 0100) |
| 37 | return((i<<6) + j); | |
| 38 | } | |
| 39 | return(OVOID); | |
| # | Line 48 | Line 48 | char *mname; | |
| 48 | register OBJREC *op; | |
| 49 | register int i; | |
| 50 | ||
| 51 | < | for (i = obj; i-- > 0; ) { |
| 51 | > | i = modifier(mname); /* try hash table first */ |
| 52 | > | if (i < obj) |
| 53 | > | return(i); |
| 54 | > | for (i = obj; i-- > 0; ) { /* need to search */ |
| 55 | op = objptr(i); | |
| 56 | if (ismodifier(op->otype) && !strcmp(op->oname, mname)) | |
| 57 | return(i); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |