9 Jun
2023
9 Jun
'23
8:21 p.m.
Esme Povirk (@madewokherd) commented about dlls/comdlg32/navbar.c:
+ w = 0, crumbs_visible_n = 0, prev_x; + + if (!GetWindowRect(info->container_hwnd, &container_rc)) + return; + padding = container_rc.left; + + if (!GetClientRect(info->container_hwnd, &container_rc)) + return; + container_w = container_rc.right - container_rc.left; + if (!container_w) + return; + + if (!GetWindowRect(info->up_btn_hwnd, &up_button_rc)) + return; + + buttons_w = up_button_rc.right + 1 - padding; Should the 1 here be DPI-scaled?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2993#note_35295