mirror of
https://github.com/google/pebble.git
synced 2025-07-21 06:44:49 -04:00
spelling: attribute
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
dc6250106b
commit
0af48bf2c5
6 changed files with 21 additions and 21 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue