mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
fix stupid infinite loop when GConf is turned off.
* src/core/prefs.c: fix stupid infinite loop when GConf is turned off. svn path=/trunk/; revision=4024
This commit is contained in:
@ -1875,8 +1875,10 @@ init_bindings (void)
|
||||
int which = 0;
|
||||
while (key_string_bindings[i].name)
|
||||
{
|
||||
if (key_string_bindings[i].keybinding == NULL)
|
||||
if (key_string_bindings[i].keybinding == NULL) {
|
||||
++i;
|
||||
continue;
|
||||
}
|
||||
|
||||
while (strcmp(key_bindings[which].name,
|
||||
key_string_bindings[i].name) != 0)
|
||||
|
Reference in New Issue
Block a user