Fix typo seems to have no actual effect, but...

This commit is contained in:
Kovid Goyal 2023-02-02 06:07:30 +05:30
parent 1d45cf4f91
commit 01720a8d4f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1603,7 +1603,7 @@ void _glfwPlatformUpdateIMEState(_GLFWwindow *w, const GLFWIMEUpdateEvent *ev) {
ans = [pboard setString:@(text) forType:NSPasteboardTypeString];
} else if ([types containsObject:@"NSStringPboardType"] == YES) {
[pboard declareTypes:@[@"NSStringPboardType"] owner:self];
ans = [pboard setString:@(text) forType:NSPasteboardTypeString];
ans = [pboard setString:@(text) forType:@"NSStringPboardType"];
}
free(text);
}