mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
Merge branch 'w32-tests-spawn' into 'main'
Various spawn-related test fixes on win32 See merge request GNOME/glib!2485
This commit is contained in:
@@ -780,7 +780,7 @@ g_content_type_guess (const gchar *filename,
|
||||
if (filename)
|
||||
{
|
||||
i = strlen (filename);
|
||||
if (filename[i - 1] == '/')
|
||||
if (i > 0 && filename[i - 1] == '/')
|
||||
{
|
||||
name_mimetypes[0] = "inode/directory";
|
||||
name_mimetypes[1] = NULL;
|
||||
|
Reference in New Issue
Block a user