Closed thijsdamen closed 11 years ago
iOS6's getCString:keyBuffer:encoding truncates the string to match maxLength, it also replaces the first character with a 0 instead of keeping it intact. Replicate this behaviour so older keys used remain usable.
iOS6's getCString:keyBuffer:encoding truncates the string to match maxLength, it also replaces the first character with a 0 instead of keeping it intact. Replicate this behaviour so older keys used remain usable.