Make changes in respect to feedback

This commit is contained in:
Alfonso Gregory 2021-07-11 11:01:33 -04:00 committed by GitHub
commit ca896d0585
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -601,7 +601,7 @@ bool zernum(_In_ PNUMBER a)
// loop over all the digits until you find a nonzero or until you run // loop over all the digits until you find a nonzero or until you run
// out of digits // out of digits
for (int32_t length = a->cdigit; length > 0; length--) for (int32_t length = a->cdigit; length > 0; --length)
{ {
if (*pcha) if (*pcha)
{ {
@ -609,7 +609,7 @@ bool zernum(_In_ PNUMBER a)
return false; return false;
} }
pcha++; ++pcha;
} }
// All of the digits are zero, therefore the number is zero // All of the digits are zero, therefore the number is zero
return true; return true;