aboutsummaryrefslogtreecommitdiff
path: root/pd/src/g_canvas.c
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2007-07-20 03:25:21 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2007-07-20 03:25:21 +0000
commit1e45c6bafc8419930958103cc1651ff86cf5d84d (patch)
tree260d94049e3302f7fc833abd7a8d3479f0631e49 /pd/src/g_canvas.c
parentdaa1933fed59113296b8e044fc370587b068aea9 (diff)
various bug fixes.
svn path=/trunk/; revision=8186
Diffstat (limited to 'pd/src/g_canvas.c')
-rw-r--r--pd/src/g_canvas.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pd/src/g_canvas.c b/pd/src/g_canvas.c
index 5a52a07a..10f897c1 100644
--- a/pd/src/g_canvas.c
+++ b/pd/src/g_canvas.c
@@ -1048,12 +1048,12 @@ void canvas_loadbang(t_canvas *x)
or something. Anyway, we just add the 2 pixels back here; seems we
have to do this for linux but not MSW; not sure about MacOS. */
-#ifdef MSW
-#define HORIZBORDER 0
-#define VERTBORDER 0
-#else
+#ifdef __unix__
#define HORIZBORDER 2
#define VERTBORDER 2
+#else
+#define HORIZBORDER 4
+#define VERTBORDER 4
#endif
static void canvas_relocate(t_canvas *x, t_symbol *canvasgeom,