Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aefa5d7

Browse files
author
Aygul Salahli
committed
When a property is repeated with multiple values take the last one
1 parent c6b430f commit aefa5d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎source/modest/finder/thread.c‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,11 @@ bool modest_finder_thread_spec_is_up(modest_style_raw_specificity_t* spec_f, mod
334334

335335
if(spec_f->c > spec_t->c)
336336
return true;
337+
else if(spec_f->c < spec_t->c)
338+
return false;
337339

338-
return false;
340+
/* when a property is repeated with multiple values take the last one*/
341+
return true;
339342
}
340343

341344
void modest_finder_thread_declaratin_append(modest_finder_thread_found_context_t* found_context, bool is_low_priority,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /