Replace confusable letters by special characters

This commit is contained in:
Jonathan Schleifer 2016-10-10 23:36:30 +02:00
parent 47dfd7de4f
commit ae3bf3f8a5
No known key found for this signature in database
GPG key ID: 338C3541DB54E169
2 changed files with 6 additions and 5 deletions

View file

@ -59,9 +59,9 @@
for (size_t i = 0; i < _length; i++) for (size_t i = 0; i < _length; i++)
_output[i] = _output[i] =
"0123456789" "123456789"
"abcdefghijklmnopqrstuvwxyz" "abcdefghijkmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" "ABCDEFGHJKLMNPQRSTUVWXYZ"
".!"[_output[i] & 0x3F]; "#$%-=?"[_output[i] & 0x3F];
} }
@end @end

View file

@ -128,7 +128,8 @@ clearNSMutableString(NSMutableString *string)
[UIAlertAction actionWithTitle: @"OK" [UIAlertAction actionWithTitle: @"OK"
style: UIAlertActionStyleDefault style: UIAlertActionStyleDefault
handler: ^ (UIAlertAction *action) { handler: ^ (UIAlertAction *action) {
[self.navigationController popViewControllerAnimated: YES]; [self.navigationController
popViewControllerAnimated: YES];
}]]; }]];
[self presentViewController: alert [self presentViewController: alert