From e89962146e78e2af43498ed75f722d3cad159304 Mon Sep 17 00:00:00 2001 From: sid Date: Tue, 19 Nov 2024 12:58:34 +0000 Subject: [PATCH] as-vercmp: Fix gtkdoc to not start with '>' This causes rendering issues in web browser. Refer: https://github.com/ximion/appstream/pull/685 --- src/as-vercmp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/as-vercmp.c b/src/as-vercmp.c index ce807d583..a1853ed71 100644 --- a/src/as-vercmp.c +++ b/src/as-vercmp.c @@ -150,9 +150,9 @@ cmp_part (const gchar *a, const gchar *a_end, const gchar *b, const gchar *b_end * Compare alpha and numeric segments of two software versions, * considering @flags. * - * Returns: >>0 if a is newer than b; + * Returns: an integer > 0 if a is newer than b; * 0 if a and b are the same version; - * <<0 if b is newer than a + * < 0 if b is newer than a */ gint as_vercmp (const gchar *a, const gchar *b, AsVercmpFlags flags) @@ -212,9 +212,9 @@ as_vercmp (const gchar *a, const gchar *b, AsVercmpFlags flags) * * Compare alpha and numeric segments of two software versions. * - * Returns: >>0 if a is newer than b; + * Returns: an integer > 0 if a is newer than b; * 0 if a and b are the same version; - * <<0 if b is newer than a + * < 0 if b is newer than a */ gint as_vercmp_simple (const gchar *a, const gchar *b)