[PATCH 0/6] MR261: win32u: nonclient conversion
Huw Davies (@huw)
wine at gitlab.winehq.org
Fri Jun 17 01:45:31 CDT 2022
Huw Davies (@huw) commented about dlls/win32u/defwnd.c:
> +/***********************************************************************
> + * NtUserDrawCaptionTemp (win32u.@)
> + */
> +BOOL WINAPI NtUserDrawCaptionTemp( HWND hwnd, HDC hdc, const RECT *rect, HFONT font,
> + HICON icon, const WCHAR *str, UINT flags )
> +{
> + RECT rc = *rect;
> +
> + TRACE( "(%p,%p,%p,%p,%p,%s,%08x)\n", hwnd, hdc, rect, font, icon, debugstr_w(str), flags );
> +
> + /* drawing background */
> + if (flags & DC_INBUTTON)
> + {
> + fill_rect( hdc, &rc, get_sys_color_brush( COLOR_3DFACE ));
> +
> + if (flags & DC_ACTIVE) {
Left over K&R brace.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/261#note_2251
More information about the wine-devel
mailing list