mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 06:56:24 +08:00
Clarification of change in constant used for text-containing pasteboards across Mac OS versions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -2705,7 +2705,7 @@ static void convert_crlf(char * s, size_t len)
|
||||
// fltk 1.3 clipboard support constant definitions:
|
||||
static const NSString *calc_utf8_format(void)
|
||||
{
|
||||
if (fl_mac_os_version >= 100500) return @"public.utf8-plain-text";
|
||||
if (fl_mac_os_version >= 100600) return @"public.utf8-plain-text"; // same as NSPasteboardTypeString
|
||||
return NSStringPboardType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user