Skip to content

Commit aa791d2

Browse files
committed
Merge branch 'skia_2024'
2 parents d1ae47b + d5000b2 commit aa791d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/host/windows/window.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,22 @@ namespace cycfi::elements
4343
void disable_minimize(HWND hwnd)
4444
{
4545
SetWindowLongW(hwnd, GWL_STYLE,
46-
GetWindowLongW(hwnd, GWL_STYLE) & ~WS_MINIMIZEBOX);
46+
GetWindowLongW(hwnd, GWL_STYLE) & ~WS_MINIMIZEBOX);
4747
SetWindowPos(hwnd, nullptr, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED);
4848
}
4949

5050
[[maybe_unused]]
5151
void disable_maximize(HWND hwnd)
5252
{
5353
SetWindowLongW(hwnd, GWL_STYLE,
54-
GetWindowLongW(hwnd, GWL_STYLE) & ~WS_MAXIMIZEBOX);
54+
GetWindowLongW(hwnd, GWL_STYLE) & ~WS_MAXIMIZEBOX);
5555
SetWindowPos(hwnd, nullptr, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED);
5656
}
5757

5858
void disable_resize(HWND hwnd)
5959
{
6060
SetWindowLongW(hwnd, GWL_STYLE,
61-
GetWindowLongW(hwnd, GWL_STYLE) & ~WS_SIZEBOX & ~WS_MAXIMIZEBOX);
61+
GetWindowLongW(hwnd, GWL_STYLE) & ~WS_SIZEBOX & ~WS_MAXIMIZEBOX);
6262
SetWindowPos(hwnd, nullptr, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED);
6363
}
6464

0 commit comments

Comments
 (0)