17 Apr
2023
17 Apr
'23
6:35 p.m.
On Mon Apr 17 18:21:40 2023 +0000, Esme Povirk wrote:
Is it not possible for a window to have a style of 0? I haven't run across a case where a valid window has a style of 0, but looking at the win32u code I guess it's possible that it can happen and the window is still valid. I should probably change this to:
if (!(style = GetWindowLongPtrW(hwnd, GWL_STYLE)) && (GetLastError() != NO_ERROR))
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2665#note_30243