diff --git a/windows/attrstr.cpp b/windows/attrstr.cpp index feaaa61e..79406fa6 100644 --- a/windows/attrstr.cpp +++ b/windows/attrstr.cpp @@ -382,7 +382,7 @@ static HRESULT applyEffectsAttributes(struct foreachParams *p) if (hr != S_OK) // TODO proper cleanup somehow return hr; - cea = (combinedEffectsAttr *) cea; + cea = (combinedEffectsAttr *) u; if (cea != NULL) { auto diter = effects.find(cea); if (diter != effects.end())