diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-26 00:27:07 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-26 00:27:07 +0000 |
| commit | fede14d6a25abe32e9bdf81a820d5ab855e0d5a3 (patch) | |
| tree | a7d8e895f2337f57da0be8845af5637b4cfbe928 /plugins | |
| parent | 014384dba60a432e516bd754407b07e3f2c2d850 (diff) | |
strdown the context name
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/mouse/mouse.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
