fixed math typo

This commit is contained in:
Václav Šmejkal 2022-04-23 17:47:15 +02:00
parent 802018e16e
commit c3f70c1372

View File

@ -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)