diff options
author | Alexander <lex.borisov@gmail.com> | 2019-10-21 16:04:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-21 16:04:08 +0300 |
commit | befc1cb210ea48bebcbb129268db8fa1cac1846a (patch) | |
tree | a2d2c0e17b52b5a97f131c770f037c55f474384a | |
parent | c6b430fd8029a48f8242a4e076a253fd3f9d4e44 (diff) | |
parent | aefa5d7b74c186c38284b3bc300b8bcc1f66d846 (diff) |
Merge pull request #70 from aygulsalahli/fix-repeated-property
When a property is repeated with multiple values take the last one.
-rw-r--r-- | source/modest/finder/thread.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/modest/finder/thread.c b/source/modest/finder/thread.c index a6f5d86..883e5f2 100644 --- a/source/modest/finder/thread.c +++ b/source/modest/finder/thread.c @@ -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) 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, |