Commit d1ef523e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

preferences: Fix wrong union field assignment

parent d7991e81
......@@ -93,7 +93,7 @@ void
preferences_set_bool(pref_bool key, bool value)
{
pref_id key_id;
key_id.t_enum = key;
key_id.t_bool = key;
preference_set_boolean(preferences_get_key(key_id), value);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment