mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-04 22:20:24 +00:00
Fixes startup crash on macOS as described on #32
This commit is contained in:
parent
4dacef8693
commit
997773a1d1
|
@ -22494,6 +22494,7 @@ void sub_put2(int32 i,int64 offset,void *element,int32 passed){
|
|||
if ( (err) != noErr ) goto CantGetPasteboardItemIdentifier;
|
||||
|
||||
err = PasteboardCopyItemFlavorData( inPasteboard, itemID, CFSTR("public.utf8-plain-text"), &flavorData );
|
||||
if ( (err) != noErr ) goto CantGetPasteboardItemCount;
|
||||
data = (char*)CFDataGetBytePtr(flavorData);
|
||||
|
||||
uint32 size;
|
||||
|
|
Loading…
Reference in a new issue