Fix index for vigenere
This commit is contained in:
parent
013c05f2dd
commit
8e0d2faefb
@ -20,7 +20,7 @@ int main(int argc, char** argv)
|
||||
int ki = 0;
|
||||
for(int pi = 0; text[pi] != 0; ++pi)
|
||||
{
|
||||
if(text[i] == ' ')
|
||||
if(text[pi] == ' ')
|
||||
{
|
||||
std::cout << ' ';
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user