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++)
|
||||
_output[i] =
|
||||
"0123456789"
|
||||
"abcdefghijklmnopqrstuvwxyz"
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
".!"[_output[i] & 0x3F];
|
||||
"123456789"
|
||||
"abcdefghijkmnopqrstuvwxyz"
|
||||
"ABCDEFGHJKLMNPQRSTUVWXYZ"
|
||||
"#$%-=?"[_output[i] & 0x3F];
|
||||
}
|
||||
@end
|
||||
|
|
|
@ -128,7 +128,8 @@ clearNSMutableString(NSMutableString *string)
|
|||
[UIAlertAction actionWithTitle: @"OK"
|
||||
style: UIAlertActionStyleDefault
|
||||
handler: ^ (UIAlertAction *action) {
|
||||
[self.navigationController popViewControllerAnimated: YES];
|
||||
[self.navigationController
|
||||
popViewControllerAnimated: YES];
|
||||
}]];
|
||||
|
||||
[self presentViewController: alert
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue