From fa389f5b54aedab0b4cc5f8fb6f558e55b27d55d Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sat, 20 May 2017 16:56:38 +0200 Subject: [PATCH] Fix call of registerServicesMenuSendTypes * src/nsterm.m (initFrameFromEmacs:): nil is not allowed for returnTypes; pass an empty array instead. --- src/nsterm.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsterm.m b/src/nsterm.m index 6e138b7eb6c..c8320130a87 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -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. -- 2.39.2