[gtk+] Fix an array overrun
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix an array overrun
- Date: Thu, 23 Jun 2016 19:47:58 +0000 (UTC)
commit 8430be75ed1c4f747170138ac29aaef485aa78bc
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 23 15:46:45 2016 -0400
Fix an array overrun
When I introduced the new input source enum value for
track points, I forgot that there is a fixed-size array
with names for those in the inspector.
gtk/inspector/general.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
index 04bdbad..31dd6aa 100644
--- a/gtk/inspector/general.c
+++ b/gtk/inspector/general.c
@@ -474,7 +474,8 @@ add_device (GtkInspectorGeneral *gen,
"Cursor",
"Keyboard",
"Touchscreen",
- "Touchpad"
+ "Touchpad",
+ "Trackpoint"
};
name = gdk_device_get_name (device);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]