1
0
Fork 0

Fix Clippy lints in Windows backend

This commit is contained in:
Robbert van der Helm 2023-01-01 22:38:41 +01:00
parent 96c0401865
commit 39e97ab2be

View file

@ -369,8 +369,8 @@ unsafe fn wnd_proc_inner(
SetWindowPos(
hwnd,
hwnd,
new_rect.left as i32,
new_rect.top as i32,
new_rect.left,
new_rect.top,
new_rect.right - new_rect.left,
new_rect.bottom - new_rect.top,
SWP_NOZORDER | SWP_NOMOVE,
@ -721,8 +721,8 @@ impl Window {
SetWindowPos(
hwnd,
hwnd,
new_rect.left as i32,
new_rect.top as i32,
new_rect.left,
new_rect.top,
new_rect.right - new_rect.left,
new_rect.bottom - new_rect.top,
SWP_NOZORDER | SWP_NOMOVE,