diff --git a/BasiliskII/src/MacOSX/clip_macosx.cpp b/BasiliskII/src/MacOSX/clip_macosx.cpp index 8ca71549..1d37edfc 100644 --- a/BasiliskII/src/MacOSX/clip_macosx.cpp +++ b/BasiliskII/src/MacOSX/clip_macosx.cpp @@ -159,6 +159,16 @@ void GetScrap(void **handle, uint32 type, int32 offset) #endif } +/* + * ZeroScrap() is called before a Mac application writes to the clipboard; clears out the previous contents + */ + +void ZeroScrap() +{ + D(bug("ZeroScrap\n")); + + we_put_this_data = false; +} /* * Mac application wrote to clipboard