1 |
< |
/* Copyright (c) 1986 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1991 Regents of the University of California */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
172 |
|
objerror(m, USER, "bad # arguments"); |
173 |
|
if (!vardefined(sa[5])) |
174 |
|
loadfunc(sa[4]); |
175 |
< |
for (i = 0; i < 2; i++) { |
176 |
< |
errno = 0; |
177 |
< |
pt[1-i] = varvalue(sa[i+5]); /* y major ordering */ |
178 |
< |
if (errno) |
179 |
< |
goto computerr; |
180 |
< |
} |
175 |
> |
errno = 0; |
176 |
> |
pt[1] = varvalue(sa[5]); /* y major ordering */ |
177 |
> |
pt[0] = varvalue(sa[6]); |
178 |
> |
if (errno) |
179 |
> |
goto computerr; |
180 |
|
dp = getpict(sa[3]); |
181 |
|
for (i = 0; i < 3; i++) |
182 |
|
col[i] = datavalue(dp+i, pt); |