Commit 76821849 authored by Jinoh Kang's avatar Jinoh Kang Committed by Alexandre Julliard

gdi32: Add missing release_dc_ptr to NtGdiSetLayout.

parent 047da144
......@@ -1303,6 +1303,7 @@ DWORD WINAPI NtGdiSetLayout( HDC hdc, LONG wox, DWORD layout )
if (layout & LAYOUT_RTL) dc->attr->map_mode = MM_ANISOTROPIC;
DC_UpdateXforms( dc );
}
release_dc_ptr( dc );
}
TRACE("hdc : %p, old layout : %08x, new layout : %08x\n", hdc, old_layout, layout);
......
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