spelling: attribute

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 11:36:30 -05:00
parent dc6250106b
commit 0af48bf2c5
6 changed files with 21 additions and 21 deletions

View file

@ -36,16 +36,16 @@ void ancs_filtering_record_app(iOSNotifPrefs **notif_prefs,
// stored.
iOSNotifPrefs *app_notif_prefs = *notif_prefs;
const int num_existing_attribtues = app_notif_prefs ? app_notif_prefs->attr_list.num_attributes :
const int num_existing_attributes = app_notif_prefs ? app_notif_prefs->attr_list.num_attributes :
0;
AttributeList new_attr_list;
attribute_list_init_list(num_existing_attribtues, &new_attr_list);
attribute_list_init_list(num_existing_attributes, &new_attr_list);
bool list_dirty = false;
// Copy over all the existing attributes to our new list
if (app_notif_prefs) {
for (int i = 0; i < num_existing_attribtues; i++) {
for (int i = 0; i < num_existing_attributes; i++) {
new_attr_list.attributes[i] = app_notif_prefs->attr_list.attributes[i];
}
}