From 9a000fcb1fee460674aa984a9aa2207b8f0c4b7c Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Wed, 18 Sep 2013 21:28:30 -0400
Subject: [PATCH] fixed illegal value for MA_SCROLL

---
 pd/src/g_canvas.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pd/src/g_canvas.h b/pd/src/g_canvas.h
index 9cb1fbad1..b64c8ea67 100644
--- a/pd/src/g_canvas.h
+++ b/pd/src/g_canvas.h
@@ -136,7 +136,7 @@ typedef struct _editor
 #define MA_PASSOUT 4    /* send on to e_grab */
 #define MA_DRAGTEXT 5   /* drag in text editor to alter selection */
 #define MA_RESIZE  6    /* drag to resize */
-#define MA_SCROLL  -1    /* scroll with middle click onto empty canvas */
+#define MA_SCROLL  7    /* scroll with middle click onto empty canvas */
 
 /* editor structure for "garrays".  We don't bother to delete and regenerate
 this structure when the "garray" becomes invisible or visible, although we
-- 
GitLab