Commit 86832500 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

windowscodecs: Fix copy-paste error (coverity).

parent cf95218f
......@@ -817,7 +817,7 @@ static HRESULT register_metadatareaders(struct regsvr_metadatareader const *list
if (res != ERROR_SUCCESS) goto error_close_clsid_key;
}
if (list->vendor) {
if (list->metadata_format) {
StringFromGUID2(list->metadata_format, buf, 39);
res = RegSetValueExW(clsid_key, metadataformat_valuename, 0, REG_SZ,
(CONST BYTE*)(buf), 78);
......
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