Commit 1fd2354a authored by Rishabh Dave's avatar Rishabh Dave Committed by Benno Schulenberg
Browse files

shortcuts: zero the value of 'toggle' for keys that are not toggles

This fixes http://savannah.gnu.org/bugs/?48698

.
Signed-off-by: default avatarRishabh Dave <rishabhddave@gmail.com>
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -1359,6 +1359,7 @@ sc *strtosc(const char *input)
sc *s;
s = (sc *)nmalloc(sizeof(sc));
s->toggle = 0;
#ifndef DISABLE_HELP
if (!strcasecmp(input, "help"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment