[gnome-software: 1/2] gs-age-rating-context-dialog: Fix coalescing groups when rating is lower
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] gs-age-rating-context-dialog: Fix coalescing groups when rating is lower
- Date: Wed, 8 Dec 2021 15:43:17 +0000 (UTC)
commit c5edd017c511aeb27280393e7783068153f102b6
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Dec 8 15:35:35 2021 +0000
gs-age-rating-context-dialog: Fix coalescing groups when rating is lower
When the age rating of one group is lower than the group it’s to be
coalesced into, it should still be coalesced. Previously, coalescing
would only happen if the ages were identical.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Fixes: #1565
src/gs-age-rating-context-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-age-rating-context-dialog.c b/src/gs-age-rating-context-dialog.c
index 8ffea0e7c..8d60aa21d 100644
--- a/src/gs-age-rating-context-dialog.c
+++ b/src/gs-age-rating-context-dialog.c
@@ -466,7 +466,7 @@ gs_age_rating_context_dialog_process_attributes (AsContentRating
if (g_strv_contains (coalesce_groups + 1, rating_ids[i]) &&
as_content_rating_attribute_to_csm_age (coalesce_groups[0],
as_content_rating_get_value (content_rating,
- coalesce_groups[0]))
== rating_age)
+ coalesce_groups[0]))
= rating_age)
continue;
callback (rating_ids[i], rating_value, user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]