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