diff --git a/src/frontend/plotting/plotit.c b/src/frontend/plotting/plotit.c index 3d6d2bcd4..6fe0efc49 100644 --- a/src/frontend/plotting/plotit.c +++ b/src/frontend/plotting/plotit.c @@ -217,7 +217,7 @@ getword(wordlist *wl, char *name) wordlist *beg; char *s; - wl = wl_find(name, wl); + beg = wl_find(name, wl); if (!beg) return NULL;