mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 00:01:15 -03:00
Incorporate Siteshwar's patch for building on Linux
This commit is contained in:
@@ -576,7 +576,7 @@ xdg_mime_media_type_equal (const char *mime_a,
|
||||
|
||||
xdg_mime_init ();
|
||||
|
||||
sep = strchr (mime_a, '/');
|
||||
sep = const_cast<char*>(strchr (mime_a, '/'));
|
||||
|
||||
if (sep && strncmp (mime_a, mime_b, sep - mime_a + 1) == 0)
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user