Fix Clippy lints in Windows backend
This commit is contained in:
parent
96c0401865
commit
39e97ab2be
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue