1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-02 18:51:21 +00:00

Fixes startup crash on macOS as described on #32

This commit is contained in:
Fellippe Heitor 2020-02-18 10:39:31 -03:00
parent 4dacef8693
commit 997773a1d1

View file

@ -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;