mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 02:02:14 +02:00
Fix typo seems to have no actual effect, but...
This commit is contained in:
@@ -1603,7 +1603,7 @@ void _glfwPlatformUpdateIMEState(_GLFWwindow *w, const GLFWIMEUpdateEvent *ev) {
|
|||||||
ans = [pboard setString:@(text) forType:NSPasteboardTypeString];
|
ans = [pboard setString:@(text) forType:NSPasteboardTypeString];
|
||||||
} else if ([types containsObject:@"NSStringPboardType"] == YES) {
|
} else if ([types containsObject:@"NSStringPboardType"] == YES) {
|
||||||
[pboard declareTypes:@[@"NSStringPboardType"] owner:self];
|
[pboard declareTypes:@[@"NSStringPboardType"] owner:self];
|
||||||
ans = [pboard setString:@(text) forType:NSPasteboardTypeString];
|
ans = [pboard setString:@(text) forType:@"NSStringPboardType"];
|
||||||
}
|
}
|
||||||
free(text);
|
free(text);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user