From: cuz Date: Mon, 15 Jul 2002 21:00:28 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~2269 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0921d9c1ee24913dfacf6c72a4db6635e28fc56c;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@1356 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/function.c b/src/cc65/function.c index b0269576a..66777b189 100644 --- a/src/cc65/function.c +++ b/src/cc65/function.c @@ -152,7 +152,7 @@ int F_HasVoidReturn (const Function* F) int F_IsVariadic (const Function* F) /* Return true if this is a variadic function */ { - return (F->Desc->Flags & FD_OLDSTYLE) != 0; + return (F->Desc->Flags & FD_VARIADIC) != 0; }