aboutsummaryrefslogtreecommitdiff
path: root/pd/src/g_canvas.c
diff options
context:
space:
mode:
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,