diff options
author | Richard Hughes <richard@hughsie.com> | 2015-03-11 16:15:34 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-03-11 16:17:22 +0000 |
commit | 17cfa1a322371f7fa52844239086e43759f9f496 (patch) | |
tree | 9490ed10aea43156fd7cb80d2983acc41cbdcbf7 /libappstream-glib/as-inf.c | |
parent | d11346118936e2be92aa4df869d0bfc441f4874f (diff) | |
download | appstream-glib-17cfa1a322371f7fa52844239086e43759f9f496.tar.gz |
trivial: Make the UTF-8 test actually match the comment
Diffstat (limited to 'libappstream-glib/as-inf.c')
-rw-r--r-- | libappstream-glib/as-inf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-inf.c b/libappstream-glib/as-inf.c index d1b50ff..55dcf7a 100644 --- a/libappstream-glib/as-inf.c +++ b/libappstream-glib/as-inf.c @@ -460,7 +460,7 @@ as_inf_repair_utf8 (AsInfHelper *helper, gchar *line, GError **error) /* Microsoft keeps using 0x99 as UTF-8 (R), and it's not valid */ for (i = 0; line[i] != '\0'; i++) { val = (guint8) line[i]; - if (val == 0xAE || val == 0x99) { + if (val == 0x99) { if (helper->flags & AS_INF_LOAD_FLAG_STRICT) { g_set_error (error, AS_INF_ERROR, |