fixed math typo
This commit is contained in:
parent
802018e16e
commit
c3f70c1372
@ -97,7 +97,7 @@ encryptText(char *text, char *keyNew)
|
||||
numberBuffer += floor(log10(abs(textKeyChain[i]))) + 1;
|
||||
|
||||
//CHECK FOR MINUS
|
||||
if (textKeyChain[i] > 0) numberBuffer++;
|
||||
if (textKeyChain[i] < 0) numberBuffer++;
|
||||
}
|
||||
|
||||
//ALLOCATE returningText (WITH THE SEPARATORS)
|
||||
@ -122,6 +122,6 @@ encryptText(char *text, char *keyNew)
|
||||
|
||||
//DEALLOCATION
|
||||
free(key);
|
||||
|
||||
|
||||
return returningText;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user