Commit df4b68b7 authored by Damjan Jovanovic's avatar Damjan Jovanovic Committed by Alexandre Julliard

winemenubuilder: Ignore Windows MIME types without a slash.

parent cd084ff1
......@@ -1941,7 +1941,7 @@ static BOOL generate_associations(const char *xdg_data_home, const char *package
if (mimeTypeA == NULL)
{
if (contentTypeW != NULL)
if (contentTypeW != NULL && strchrW(contentTypeW, '/'))
mimeTypeA = wchars_to_utf8_chars(contentTypeW);
else
mimeTypeA = heap_printf("application/x-wine-extension-%s", &extensionA[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment