diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2006-10-09 04:36:12 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2006-10-09 04:36:12 +0000 |
commit | ea52f5938bb4367dcd4bf7c7826a7abff92a854c (patch) | |
tree | 8e903fa5f74186d8ba2496953fe5a205192b39f2 /pd/src/g_editor.c | |
parent | a8b5d482aae017703162b4e442b820082d05b2d7 (diff) |
bugfixes... pd 0.40-1.
svn path=/trunk/; revision=6082
Diffstat (limited to 'pd/src/g_editor.c')
-rw-r--r-- | pd/src/g_editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |