forked from AuroraMiddleware/gtk
accelgroup: Fix an invalid write
This was lost by accident in d110fddbce
.
Fixes: #2602
This commit is contained in:
parent
8780906b93
commit
ad1bc75dd2
@ -592,7 +592,7 @@ gtk_accelerator_name (guint accelerator_key,
|
||||
keyval_name = "";
|
||||
|
||||
saved_mods = accelerator_mods;
|
||||
l = 0;
|
||||
l = strlen (keyval_name);
|
||||
if (accelerator_mods & GDK_SHIFT_MASK)
|
||||
l += sizeof (text_shift) - 1;
|
||||
if (accelerator_mods & GDK_CONTROL_MASK)
|
||||
|
Loading…
Reference in New Issue
Block a user