winemenubuilder: Lower case the content type.

This commit is contained in:
Hans Leidekker 2010-05-14 15:35:04 +02:00 committed by Alexandre Julliard
parent f6612adcd2
commit df260d14a6
1 changed files with 2 additions and 0 deletions

View File

@ -2092,6 +2092,8 @@ static BOOL generate_associations(const char *xdg_data_home, const char *package
iconW = assoc_query(ASSOCSTR_DEFAULTICON, extensionW, NULL);
contentTypeW = assoc_query(ASSOCSTR_CONTENTTYPE, extensionW, NULL);
if (contentTypeW)
strlwrW(contentTypeW);
if (!freedesktop_mime_type_for_extension(nativeMimeTypes, extensionA, extensionW, &mimeTypeA))
goto end;