From fede14d6a25abe32e9bdf81a820d5ab855e0d5a3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 26 Mar 2003 00:27:07 +0000 Subject: [PATCH] strdown the context name --- plugins/mouse/mouse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mouse/mouse.c b/plugins/mouse/mouse.c index 372417d3..e6c9b713 100644 --- a/plugins/mouse/mouse.c +++ b/plugins/mouse/mouse.c @@ -309,7 +309,9 @@ static gboolean mbind(char *buttonstr, char *contextstr, MouseAction mact, return FALSE; } + contextstr = g_ascii_strdown(contextstr, -1); context = g_quark_try_string(contextstr); + g_free(contextstr); if (!context) { g_warning("invalid context"); return FALSE; -- 2.45.2