fix: Windows checkboxChecked edge case (#21852)

This commit is contained in:
Shelley Vohr 2020-01-21 23:38:39 -08:00 committed by Cheng Zhao
parent fbc2f8344f
commit 11804dfe2f

View file

@ -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) {