mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clang-format
This commit is contained in:
parent
6125057c04
commit
c88b55286f
1 changed files with 1 additions and 2 deletions
|
@ -152,8 +152,7 @@ Servo::PromptResult prompt_yes_no(const char *message, bool trusted) {
|
||||||
return sServo->Delegate().OnServoPromptYesNo(char2hstring(message), trusted);
|
return sServo->Delegate().OnServoPromptYesNo(char2hstring(message), trusted);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *prompt_input(const char *message, const char *def,
|
const char *prompt_input(const char *message, const char *def, bool trusted) {
|
||||||
bool trusted) {
|
|
||||||
auto input = sServo->Delegate().OnServoPromptInput(
|
auto input = sServo->Delegate().OnServoPromptInput(
|
||||||
char2hstring(message), char2hstring(def), trusted);
|
char2hstring(message), char2hstring(def), trusted);
|
||||||
if (input.has_value()) {
|
if (input.has_value()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue