From cc9a815eea919b1daef77267e6f427cad6aa8e50 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 19 May 2012 19:54:14 -0700 Subject: [PATCH] remove another fintoken warning from the logs --- src/gamecode/laws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamecode/laws.c b/src/gamecode/laws.c index d2096ae9c..a0b150ab3 100644 --- a/src/gamecode/laws.c +++ b/src/gamecode/laws.c @@ -2567,7 +2567,7 @@ static int reshow_cmd(unit * u, struct order *ord) skip_token(); s = getstrtoken(); - if (findparam(s, u->faction->locale) == P_ANY) { + if (isparam(s, u->faction->locale, P_ANY)) { p = getparam(u->faction->locale); s = NULL; }