diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2022-07-15 20:34:59 +0200 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2022-07-18 19:43:07 +0100 |
commit | 8d39640032752bf81d648d018ff115aa8d495957 (patch) | |
tree | afcc925f696845ec1c1fb0626e390f44f3dd1758 | |
parent | 3870226a3585be4c31c1719248be0e17d789f3d7 (diff) | |
download | appstream-glib-8d39640032752bf81d648d018ff115aa8d495957.tar.gz |
trivial: Turn is_{em,code}_text fields into bitfields
-rw-r--r-- | libappstream-glib/as-node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c index b6650e4..9c6d5d4 100644 --- a/libappstream-glib/as-node.c +++ b/libappstream-glib/as-node.c @@ -555,8 +555,8 @@ typedef struct { AsNode *current; AsNodeFromXmlFlags flags; const gchar * const *locales; - guint8 is_em_text; - guint8 is_code_text; + guint8 is_em_text:1; + guint8 is_code_text:1; } AsNodeToXmlHelper; /** |