Merge pull request #70 from aygulsalahli/fix-repeated-property

When a property is repeated with multiple values take the last one.
This commit is contained in:
Alexander 2019-10-21 16:04:08 +03:00 committed by GitHub
commit befc1cb210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -334,8 +334,11 @@ bool modest_finder_thread_spec_is_up(modest_style_raw_specificity_t* spec_f, mod
if(spec_f->c > spec_t->c) if(spec_f->c > spec_t->c)
return true; return true;
else if(spec_f->c < spec_t->c)
return false; return false;
/* when a property is repeated with multiple values take the last one*/
return true;
} }
void modest_finder_thread_declaratin_append(modest_finder_thread_found_context_t* found_context, bool is_low_priority, void modest_finder_thread_declaratin_append(modest_finder_thread_found_context_t* found_context, bool is_low_priority,