From 17cfa1a322371f7fa52844239086e43759f9f496 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 11 Mar 2015 16:15:34 +0000 Subject: trivial: Make the UTF-8 test actually match the comment --- libappstream-glib/as-inf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libappstream-glib/as-inf.c') 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, -- cgit v1.2.1