14 Aug
2024
14 Aug
'24
5:03 a.m.
Huw Davies (@huw) commented about dlls/win32u/window.c:
BOOL get_window_rect_rel( HWND hwnd, enum coords_relative rel, RECT *rect, UINT dpi ) { - return get_window_rects( hwnd, rel, rect, NULL, dpi ); + struct window_rects rects = {0};
```suggestion:-0+0 struct window_rects rects = {{0}}; ``` to avoid ``` dlls/win32u/window.c:1700:34: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct window_rects rects = {0}; ^ {} ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6273#note_78645