graf.c, drop an excess cast

This commit is contained in:
rlar 2016-09-17 11:56:35 +02:00
parent 9c2733db48
commit 99e864b6bc
1 changed files with 1 additions and 1 deletions

View File

@ -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),