Fixed typos

This commit is contained in:
2021-12-31 00:27:06 -05:00
parent ca22afcdce
commit 3c15c1e1d0
3 changed files with 7 additions and 6 deletions

View File

@@ -47,6 +47,7 @@ void Autokey::encodeSet(std::string key, std::string input){
//This will take a long time if the keyword in long
//Remove the last letter in the string until it is the same size as the input
//TODO: Why not just use substring?
while(key.size() > input.size()){
key.erase(key.end() - 1);
}