mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05: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:
parent
38cd6a6c1f
commit
c2abbce2ed
@ -1,3 +1,7 @@
|
|||||||
|
2008-11-22 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
|
* src/core/prefs.c: fix stupid infinite loop when GConf is turned off.
|
||||||
|
|
||||||
2008-11-22 Thomas Thurman <tthurman@gnome.org>
|
2008-11-22 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
* src/core/prefs.c: fix two places where there was a warning
|
* src/core/prefs.c: fix two places where there was a warning
|
||||||
|
@ -1875,8 +1875,10 @@ init_bindings (void)
|
|||||||
int which = 0;
|
int which = 0;
|
||||||
while (key_string_bindings[i].name)
|
while (key_string_bindings[i].name)
|
||||||
{
|
{
|
||||||
if (key_string_bindings[i].keybinding == NULL)
|
if (key_string_bindings[i].keybinding == NULL) {
|
||||||
|
++i;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
while (strcmp(key_bindings[which].name,
|
while (strcmp(key_bindings[which].name,
|
||||||
key_string_bindings[i].name) != 0)
|
key_string_bindings[i].name) != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user