fix: Windows checkboxChecked edge case (#21860)

Co-authored-by: Shelley Vohr <codebytere@github.com>
This commit is contained in:
trop[bot]
2020-01-23 09:33:05 +09:00
committed by Cheng Zhao
parent 04234f41f2
commit 2c29a4e93d

View File

@@ -184,8 +184,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) {