mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix comments, and lesser modifications
This commit is contained in:
parent
0b713fd689
commit
3ec9f0bab9
5 changed files with 25 additions and 29 deletions
|
@ -247,9 +247,9 @@ fn prompt_user(permission_name: PermissionName) -> PermissionState {
|
|||
&format!("{} {:?} ?", QUERY_DIALOG_MESSAGE, permission_name),
|
||||
MessageBoxIcon::Question,
|
||||
YesNo::No) {
|
||||
YesNo::Yes => return PermissionState::Granted,
|
||||
YesNo::No => return PermissionState::Denied,
|
||||
};
|
||||
YesNo::Yes => PermissionState::Granted,
|
||||
YesNo::No => PermissionState::Denied,
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue