mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	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:
		@@ -1870,7 +1870,7 @@ compare_strings (gconstpointer a,
 | 
				
			|||||||
                 gconstpointer b)
 | 
					                 gconstpointer b)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  const gchar *one = a;
 | 
					  const gchar *one = a;
 | 
				
			||||||
  const gchar *two = a;
 | 
					  const gchar *two = b;
 | 
				
			||||||
  gint cmp;
 | 
					  gint cmp;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  cmp = g_str_has_suffix (two, ".enums.xml") -
 | 
					  cmp = g_str_has_suffix (two, ".enums.xml") -
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user