Remove extra space

This commit is contained in:
Luflosi 2020-10-25 22:24:48 +01:00
parent e9faa3277a
commit 60719e7bff
No known key found for this signature in database
GPG Key ID: 4E41E29EDCC345D0

View File

@ -2446,7 +2446,7 @@ START_ALLOW_CASE_RANGE
END_ALLOW_CASE_RANGE
}
if (utf_16_key != 0) {
strncpy(cocoa_key, [[NSString stringWithCharacters:&utf_16_key length:1] UTF8String], key_sz - 1);
strncpy(cocoa_key, [[NSString stringWithCharacters:&utf_16_key length:1] UTF8String], key_sz - 1);
} else {
unsigned str_pos = 0;
for (unsigned i = 0; i < 4 && str_pos < key_sz - 1; i++) {