fixed loop shadowing outer variable

This commit is contained in:
Václav Šmejkal 2022-12-09 16:06:46 +01:00
parent f5a6ece798
commit 003a5a5a7e
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -111,9 +111,9 @@ outputFlags decryptText(char *text, char *keyNew)
}
//CLEAN (POSSIBLY EXISTING) JUNK in textBuffer
for (int i = 0; i <= numberBuffer; i++)
for (int j = 0; j <= numberBuffer; j++)
{
textBuffer[i] = '\0';
textBuffer[j] = '\0';
}
//LOAD textBuffer