1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +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;