Skip to content

Commit

Permalink
Merge pull request #50 from Hzqkii/patch-1
Browse files Browse the repository at this point in the history
[FIX] Compile error on linux caused by DestroyWindow()
  • Loading branch information
couleurm authored May 16, 2024
2 parents f461194 + 40eda3d commit ce18c3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ fn main() {
}

if let Ok((args, recipe, hwnd)) = receiver.recv() {
#[cfg(windows)]
unsafe {
let _ret = windows::Win32::UI::WindowsAndMessaging::DestroyWindow(hwnd.unwrap());
// dbg!(&_ret);
Expand Down

0 comments on commit ce18c3b

Please sign in to comment.