| # | Line 346 | Line 346 | register VIEW *vp; | |
|---|---|---|
| 346 | if ((err = setview(vp)) != NULL) { | |
| 347 | sprintf(errmsg, "view not set - %s", err); | |
| 348 | error(COMMAND, errmsg); | |
| 349 | < | } else if (bcmp(vp, &ourview, sizeof(VIEW))) { |
| 350 | < | copyview(&oldview, &ourview); |
| 351 | < | copyview(&ourview, vp); |
| 349 | > | } else if (bcmp((char *)vp, (char *)&ourview, sizeof(VIEW))) { |
| 350 | > | copystruct(&oldview, &ourview); |
| 351 | > | copystruct(&ourview, vp); |
| 352 | newimage(); /* newimage() calls with vp=&ourview! */ | |
| 353 | } | |
| 354 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |