Commit ebc2d2a3 authored by Jeff Smith's avatar Jeff Smith Committed by Alexandre Julliard

gdiplus/tests: Use wide-char string literal for mimetype.

parent 796550cc
......@@ -537,7 +537,6 @@ static void test_SavingMultiPageTiff(void)
static const CHAR filename2A[] = "2.tif";
static const WCHAR filename1[] = L"1.tif";
static const WCHAR filename2[] = L"2.tif";
static const WCHAR tiff_mimetype[] = { 'i','m','a','g','e','/','t','i','f','f',0 };
params.Count = 1;
params.Parameter[0].Guid = EncoderSaveFlag;
......@@ -549,7 +548,7 @@ static void test_SavingMultiPageTiff(void)
expect(Ok, stat);
stat = GdipCreateBitmapFromScan0(2 * WIDTH, 2 * HEIGHT, 0, PixelFormat24bppRGB, NULL, &bm2);
expect(Ok, stat);
result = get_encoder_clsid(tiff_mimetype, &format, &tiff_clsid);
result = get_encoder_clsid(L"image/tiff", &format, &tiff_clsid);
ok(result, "getting TIFF encoding clsid failed");
if (!bm1 || !bm2 || !result)
......
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