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.
This commit is contained in:
@@ -474,7 +474,8 @@ add_device (GtkInspectorGeneral *gen,
|
||||
"Cursor",
|
||||
"Keyboard",
|
||||
"Touchscreen",
|
||||
"Touchpad"
|
||||
"Touchpad",
|
||||
"Trackpoint"
|
||||
};
|
||||
|
||||
name = gdk_device_get_name (device);
|
||||
|
||||
Reference in New Issue
Block a user