summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2019-01-21 19:16:07 +0000
committerRichard Hughes <richard@hughsie.com>2019-01-23 15:56:25 +0000
commit44a95049424dbed2965638deeef5b6e7e2cab62a (patch)
tree4ef155462f8aa771ffd2d5bac000486fa32d4ec2
parent57b9a5efd9b8751c00c1dcef6a63e3746150b2e7 (diff)
downloadappstream-glib-44a95049424dbed2965638deeef5b6e7e2cab62a.tar.gz
as-content-rating: Fix a typo in an OARS → CSM mapping
While I cannot be 100% sure, this looks like a typo because: • There is already a social-chat/moderate mapping higher up in the table. • social-chat is not an OARS v1.1 addition. • It’s right below a money-purchasing/mild mapping, and there is no money-purchasing/moderate mapping. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://github.com/hughsie/appstream-glib/issues/280
-rw-r--r--libappstream-glib/as-content-rating.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-content-rating.c b/libappstream-glib/as-content-rating.c
index 9b7489b..09d94d8 100644
--- a/libappstream-glib/as-content-rating.c
+++ b/libappstream-glib/as-content-rating.c
@@ -299,7 +299,7 @@ as_content_rating_id_value_to_csm_age (const gchar *id, AsContentRatingValue val
{ "social-info", AS_CONTENT_RATING_VALUE_MILD, 0 },
{ "social-info", AS_CONTENT_RATING_VALUE_MODERATE, 13 },
{ "money-purchasing", AS_CONTENT_RATING_VALUE_MILD, 12 },
- { "social-chat", AS_CONTENT_RATING_VALUE_MODERATE, 14 },
+ { "money-purchasing", AS_CONTENT_RATING_VALUE_MODERATE, 14 },
{ "sex-homosexuality", AS_CONTENT_RATING_VALUE_NONE, 0 },
{ "sex-homosexuality", AS_CONTENT_RATING_VALUE_MILD, 10 },
{ "sex-homosexuality", AS_CONTENT_RATING_VALUE_MODERATE, 13 },