| 326 |
|
int py |
| 327 |
|
) |
| 328 |
|
{ |
| 329 |
< |
register int x, y; |
| 329 |
> |
int x, y; |
| 330 |
|
|
| 331 |
|
if (rp->rt & YMAJOR) { |
| 332 |
|
x = px; |
| 352 |
|
double ly |
| 353 |
|
) |
| 354 |
|
{ |
| 355 |
< |
register int x, y; |
| 355 |
> |
int x, y; |
| 356 |
|
|
| 357 |
< |
x = lx * rp->xr; |
| 358 |
< |
y = ly * rp->yr; |
| 357 |
> |
x = (int)(lx*rp->xr + .5 - (lx < 0.0)); |
| 358 |
> |
y = (int)(ly*rp->yr + .5 - (ly < 0.0)); |
| 359 |
> |
|
| 360 |
|
if (rp->rt & XDECR) |
| 361 |
|
x = rp->xr-1 - x; |
| 362 |
|
if (rp->rt & YDECR) |
| 499 |
|
) |
| 500 |
|
{ |
| 501 |
|
static char vwstr[128]; |
| 502 |
< |
register char *cp = vwstr; |
| 502 |
> |
char *cp = vwstr; |
| 503 |
|
|
| 504 |
|
*cp = '\0'; |
| 505 |
|
if (vp->type != stdview.type) { |
| 558 |
|
{ |
| 559 |
|
static char *altname[]={NULL,VIEWSTR,"rpict","rview","rvu","rpiece","pinterp",NULL}; |
| 560 |
|
extern char *progname; |
| 561 |
< |
register char *cp; |
| 562 |
< |
register char **an; |
| 561 |
> |
char *cp; |
| 562 |
> |
char **an; |
| 563 |
|
/* add program name to list */ |
| 564 |
|
if (altname[0] == NULL) { |
| 565 |
|
for (cp = progname; *cp; cp++) |