strdown the context name

This commit is contained in:
Dana Jansens 2003-03-26 00:27:07 +00:00
parent 014384dba6
commit fede14d6a2

View file

@ -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;