From: Andrej Shadura <andrewsh@debian.org>
Date: Tue, 4 Oct 2016 12:45:06 +0200
Subject: Correctly allocate the array large enough for all variants

---
 glyphedit.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/glyphedit.c b/glyphedit.c
index 8e453e7..4b9a2ee 100644
--- a/glyphedit.c
+++ b/glyphedit.c
@@ -104,7 +104,8 @@ enum {
     GLYPH_MODIFIED = 0,
     POINTER_MOVED,
     OPERATION_CHANGE,
-    COLOR_CHANGE
+    COLOR_CHANGE,
+    NUM_SIGNALS
 };
 
 /**************************************************************************
@@ -114,7 +115,7 @@ enum {
  **************************************************************************/
 
 static GtkWidgetClass *parent_class = 0;
-static guint glyphedit_signals[OPERATION_CHANGE + 1];
+static guint glyphedit_signals[NUM_SIGNALS];
 
 /**************************************************************************
  *
