Fixed debug statement in factorial in label.C
This commit is contained in:
parent
fb637562c9
commit
91a62cb2c3
2 changed files with 2 additions and 1 deletions
|
@ -75,3 +75,4 @@
|
|||
Niklas Wikstrom
|
||||
Vanja Skuric
|
||||
Alexander Vakhrushev
|
||||
Inno Gatin
|
||||
|
|
|
@ -81,7 +81,7 @@ label factorial(label n)
|
|||
};
|
||||
|
||||
# ifdef FULLDEBUG
|
||||
if (n > 12 && n < 0)
|
||||
if (n > 12 || n < 0)
|
||||
{
|
||||
FatalErrorIn("factorial(label n)")
|
||||
<< "n value out of range"
|
||||
|
|
Reference in a new issue