mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-10 01:34:36 -08:00
Fix build on earlier versions of Mac OS X
* src/nsselect.m (ns_decode_data_to_pasteboard): Respect NS_USE_NSPasteboardTypeFileUrl.
This commit is contained in:
parent
ffab237cbf
commit
6d6d1adbe7
1 changed files with 4 additions and 0 deletions
|
|
@ -582,7 +582,11 @@ ns_decode_data_to_pasteboard (Lisp_Object type, Lisp_Object data,
|
|||
{
|
||||
CHECK_STRING (data);
|
||||
|
||||
#if NS_USE_NSPasteboardTypeFileURL
|
||||
new = [types arrayByAddingObject: NSPasteboardTypeFileURL];
|
||||
#else
|
||||
new = [types arrayByAddingObject: NSFilenamesPboardType];
|
||||
#endif
|
||||
|
||||
[pasteboard declareTypes: new
|
||||
owner: nil];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue