use wl_find()

This commit is contained in:
rlar 2012-08-03 20:48:11 +02:00
parent cf2a0f3df3
commit e4c7a8df32
1 changed files with 1 additions and 2 deletions

View File

@ -975,8 +975,7 @@ old_show(wordlist *wl)
char *nn;
devs = wl;
while (wl && !eq(wl->wl_word, ":"))
wl = wl->wl_next;
wl = wl_find(":", wl);
if (!wl)
parms = NULL;
else {