Skip to content

Commit

Permalink
fix: Windows checkboxChecked edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jan 21, 2020
1 parent 100a85f commit 7bae38d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shell/browser/ui/message_box_win.cc
Expand Up @@ -183,8 +183,7 @@ DialogResult ShowTaskDialogUTF16(NativeWindow* parent,
else
button_id = cancel_id;

return std::make_pair(button_id,
checkbox_checked ? verificationFlagChecked : false);
return std::make_pair(button_id, verificationFlagChecked;
}

DialogResult ShowTaskDialogUTF8(const MessageBoxSettings& settings) {
Expand Down

0 comments on commit 7bae38d

Please sign in to comment.