Commit 93829e4b authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Fix a typo in assertion condition (Coverity).

parent 2c2b50a4
...@@ -1691,7 +1691,7 @@ static struct dwrite_fontface *unsafe_impl_from_IDWriteFontFace(IDWriteFontFace ...@@ -1691,7 +1691,7 @@ static struct dwrite_fontface *unsafe_impl_from_IDWriteFontFace(IDWriteFontFace
{ {
if (!iface) if (!iface)
return NULL; return NULL;
assert(iface->lpVtbl = (IDWriteFontFaceVtbl*)&dwritefontfacevtbl); assert(iface->lpVtbl == (IDWriteFontFaceVtbl*)&dwritefontfacevtbl);
return CONTAINING_RECORD(iface, struct dwrite_fontface, IDWriteFontFace4_iface); return CONTAINING_RECORD(iface, struct dwrite_fontface, IDWriteFontFace4_iface);
} }
......
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