winemenubuilder: Ignore Windows MIME types without a slash.

This commit is contained in:
Damjan Jovanovic 2009-10-22 19:38:37 +02:00 committed by Alexandre Julliard
parent cd084ff1f9
commit df4b68b772
1 changed files with 1 additions and 1 deletions

View File

@ -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]);