From 44527f57b2c4722b3317b2a03ba6b1d2ac7fc538 Mon Sep 17 00:00:00 2001 From: Jerome Leclanche Date: Sun, 20 Feb 2011 18:05:44 +0000 Subject: [PATCH] winemenubuilder: Make sure extension-based mimetypes are always lowercase. --- programs/winemenubuilder/winemenubuilder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c index 070a8c2b331..e0c8e8f83cd 100644 --- a/programs/winemenubuilder/winemenubuilder.c +++ b/programs/winemenubuilder/winemenubuilder.c @@ -2321,7 +2321,7 @@ static BOOL generate_associations(const char *xdg_data_home, const char *package char *progIdA = NULL; char *mimeProgId = NULL; - extensionA = wchars_to_utf8_chars(extensionW); + extensionA = wchars_to_utf8_chars(strlwrW(extensionW)); if (extensionA == NULL) { WINE_ERR("out of memory\n");