Skip to content

Commit

Permalink
Update crates/nsis-process/src/lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Jun 5, 2024
1 parent 58a259c commit 6184076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/nsis-process/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ unsafe fn run_as_user(command: &str, arguments: &str) -> bool {
}

let mut proccess_id = 0;
if GetWindowThreadProcessId(hwnd, &mut proccess_id) == 0 {
if GetWindowThreadProcessId(hwnd, &mut proccess_id) == FALSE {
return false;
}

Expand Down

0 comments on commit 6184076

Please sign in to comment.