]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix call of registerServicesMenuSendTypes
authorPhilipp Stephani <phst@google.com>
Sat, 20 May 2017 14:56:38 +0000 (16:56 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 21 May 2017 19:50:30 +0000 (21:50 +0200)
* src/nsterm.m (initFrameFromEmacs:): nil is not allowed for
returnTypes; pass an empty array instead.

src/nsterm.m

index 6e138b7eb6ce1cd460e8e75e78b2fe443625b5d9..c8320130a875f3d0050a1438dc7bff58c556b870 100644 (file)
@@ -7022,7 +7022,7 @@ not_in_argv (NSString *arg)
   [self allocateGState];
 #endif
   [NSApp registerServicesMenuSendTypes: ns_send_types
-                           returnTypes: nil];
+                           returnTypes: [NSArray array]];
 
   /* macOS Sierra automatically enables tabbed windows.  We can't
      allow this to be enabled until it's available on a Free system.