Commit 105e3c43 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

quartz: StringFromGUID2 gets character counts, not bytes.

parent 962b31c8
......@@ -241,7 +241,7 @@ static void test_legacy_filter_registration(void)
/* Register* functions need a filter class key to write pin and pin media
* type data to. Create a bogus class key for it. */
CoCreateGuid(&clsid);
StringFromGUID2(&clsid, clsidstring, sizeof(clsidstring));
StringFromGUID2(&clsid, clsidstring, ARRAY_SIZE(clsidstring));
lstrcpyW(key_name, clsidW);
lstrcatW(key_name, clsidstring);
ret = RegCreateKeyExW(HKEY_CLASSES_ROOT, key_name, 0, NULL, 0, KEY_WRITE, NULL, &hkey, NULL);
......
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