summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXClipboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/tkMacOSXClipboard.c')
-rw-r--r--macosx/tkMacOSXClipboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/tkMacOSXClipboard.c b/macosx/tkMacOSXClipboard.c
index 809cb1b..4bd39ae 100644
--- a/macosx/tkMacOSXClipboard.c
+++ b/macosx/tkMacOSXClipboard.c
@@ -70,7 +70,6 @@ static Tk_Window clipboardOwner = NULL;
if (clipboardOwner && [[NSPasteboard generalPasteboard] changeCount] !=
changeCount) {
TkDisplay *dispPtr = TkGetDisplayList();
-
if (dispPtr) {
XEvent event;
event.xany.type = SelectionClear;
@@ -300,7 +299,7 @@ TkSelPropProc(
* None.
*
* Side effects:
- * The local scrap is moved to the global scrap.
+ * The value of changeCount is synchronized.
*
*----------------------------------------------------------------------
*/