graf.c, drop an excess cast
This commit is contained in:
parent
9c2733db48
commit
99e864b6bc
|
|
@ -272,7 +272,7 @@ gr_point(struct dvec *dv,
|
|||
want to connect with oldx and oldy. */
|
||||
if (np)
|
||||
DevDrawLine(fromx, fromy, tox, toy);
|
||||
if ((tics = (double *) currentgraph->ticdata) != NULL) {
|
||||
if ((tics = currentgraph->ticdata) != NULL) {
|
||||
for (; *tics < HUGE; tics++)
|
||||
if (*tics == (double) np) {
|
||||
DevDrawText("x", (int) (tox - currentgraph->fontwidth / 2),
|
||||
|
|
|
|||
Loading…
Reference in New Issue