commit aa9cf9a8bbf90744fa69e85caced8070d55625db
parent 329afcb5bcc65fae8c97c1198667b3c9065a6df7
Author: Stephen A Pohl <spohl@mozilla.com>
Date: Wed, 22 Oct 2025 17:29:52 +0000
Bug 1995345: Fix typo in patch for bug 1985538 that broke dragging of images to Preview and other macOS apps. r=mac-reviewers,mstange
I have verified that all previous bugs and known regressions continue to work as expected after this patch, namely: bug 1802163, bug 1948388, bug 1983136 and bug 1985538.
Differential Revision: https://phabricator.services.mozilla.com/D269279
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/widget/cocoa/nsCocoaWindow.mm b/widget/cocoa/nsCocoaWindow.mm
@@ -3884,7 +3884,7 @@ static NSURL* GetPasteLocation(NSPasteboard* aPasteboard, bool aUseFallback) {
return [(NSURL*)urlRef autorelease];
}
- if (aUseFallback) {
+ if (!aUseFallback) {
return nil;
}