From d68f8326740a6a8d0b97b00e774d23c1a5c336a2 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sat, 31 Dec 2005 20:55:25 +0000 Subject: Took a bunch of patches... more to come but these are the ones that might break stuff so I'll sync here. svn path=/trunk/; revision=4336 --- 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 51372da9..0db0c140 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -1029,7 +1029,7 @@ static void canvas_done_popup(t_canvas *x, float which, float xpos, float ypos) /* on one-button-mouse machines, you can use double click to mean right click (which gets the popup menu.) Do this for Mac. */ -#ifdef MACOSX +#ifdef __APPLE__ #define SIMULATERIGHTCLICK #endif @@ -1492,7 +1492,7 @@ void canvas_key(t_canvas *x, t_symbol *s, int ac, t_atom *av) keyupsym = gensym("#keyup"); keynamesym = gensym("#keyname"); } -#ifdef MACOSX +#ifdef __APPLE__ if (keynum == 30) keynum = 0, gotkeysym = gensym("Up"); else if (keynum == 31) -- cgit v1.2.1