From e4c7a8df326d6bb76c4939e1f723a0d01017a923 Mon Sep 17 00:00:00 2001 From: rlar Date: Fri, 3 Aug 2012 20:48:11 +0200 Subject: [PATCH] use wl_find() --- src/frontend/device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/device.c b/src/frontend/device.c index ae4816898..d31e094b3 100644 --- a/src/frontend/device.c +++ b/src/frontend/device.c @@ -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 {