From ea52f5938bb4367dcd4bf7c7826a7abff92a854c Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Mon, 9 Oct 2006 04:36:12 +0000 Subject: bugfixes... pd 0.40-1. svn path=/trunk/; revision=6082 --- pd/src/g_editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pd/src/g_editor.c') diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index cbc9e1d7..aa8b35c0 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -1947,7 +1947,7 @@ static void canvas_copy(t_canvas *x) int bufsize; rtext_getseltext(x->gl_editor->e_textedfor, &buf, &bufsize); -#if defined(MSW) || defined(MACOSX) +#if defined(MSW) || defined(__APPLE__) /* for Mac or Windows, copy the text to the clipboard here */ sys_vgui("clipboard clear\n", bufsize, buf); sys_vgui("clipboard append {%.*s}\n", bufsize, buf); @@ -2111,7 +2111,7 @@ static void canvas_paste(t_canvas *x) if (x->gl_editor->e_textedfor) { /* simulate keystrokes as if the copy buffer were typed in. */ -#if defined(MSW) || defined(MACOSX) +#if defined(MSW) || defined(__APPLE__) /* for Mac or Windows, ask the GUI to send the clipboard down */ sys_gui("pdtk_pastetext\n"); #else -- cgit v1.2.1