monitor-config-manager: Handle comparing different sized config keys

The guard for handling size differences between keys were broken, it
only checked if the key passed by the second argument ended up being
shorter.

https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
Jonas Ådahl 2017-04-13 13:02:18 +08:00
parent 813de50eba
commit 3f107da479

View File

@ -827,7 +827,7 @@ meta_monitors_config_key_equal (gconstpointer data_a,
return FALSE;
}
if (l_b || l_b)
if (l_a || l_b)
return FALSE;
return TRUE;