Replace confusable letters by special characters
This commit is contained in:
parent
47dfd7de4f
commit
ae3bf3f8a5
2 changed files with 6 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue