glib-compile-schemas: Fix typo in comparison function

This caused schemas and override files to be sorted incorrectly.

Fixes a regression introduced in commit 861e82efbc.

Spotted by John Wudrick in
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3155#note_1635044.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2023-01-09 12:20:10 +00:00
parent ec3b1bfc45
commit 9d5bcc9491

View File

@ -1870,7 +1870,7 @@ compare_strings (gconstpointer a,
gconstpointer b)
{
const gchar *one = a;
const gchar *two = a;
const gchar *two = b;
gint cmp;
cmp = g_str_has_suffix (two, ".enums.xml") -