windowscodecs: Fix copy-paste error (coverity).

This commit is contained in:
André Hentschel 2012-10-24 19:27:15 +02:00 committed by Alexandre Julliard
parent cf95218f08
commit 8683250033
1 changed files with 1 additions and 1 deletions

View File

@ -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);