Skip to content
Snippets Groups Projects
Commit 2d81d968 authored by George Nachman's avatar George Nachman
Browse files

Fix bug with entering nonascii characters

parent d4aca591
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -310,7 +310,7 @@ static NSString *kCommandObject = @"object";
 
- (NSString *)keyEncodedByte:(char)byte
{
return [NSString stringWithFormat:@"%02x", (int)byte];
return [NSString stringWithFormat:@"%02x", (((int)byte) & 0xff)];
}
 
- (NSString *)stringForKeyEncodedData:(NSData *)data
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment