use wl_find()
This commit is contained in:
parent
cf2a0f3df3
commit
e4c7a8df32
|
|
@ -975,8 +975,7 @@ old_show(wordlist *wl)
|
||||||
char *nn;
|
char *nn;
|
||||||
|
|
||||||
devs = wl;
|
devs = wl;
|
||||||
while (wl && !eq(wl->wl_word, ":"))
|
wl = wl_find(":", wl);
|
||||||
wl = wl->wl_next;
|
|
||||||
if (!wl)
|
if (!wl)
|
||||||
parms = NULL;
|
parms = NULL;
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue