mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 23:19:02 +08:00
chore: fix some typos (#7518)
Signed-off-by: crazeteam <lilujing@outlook.com>
This commit is contained in:
parent
85f387bfb9
commit
4f3de4cf54
@ -286,7 +286,7 @@ impl DesktopManager {
|
||||
}
|
||||
return Ok(i);
|
||||
}
|
||||
bail!("No avaliable display found in range {:?}", display_range)
|
||||
bail!("No available display found in range {:?}", display_range)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
@ -80,8 +80,8 @@ pub(super) fn check_display_changed(
|
||||
let lock = SYNC_DISPLAYS.lock().unwrap();
|
||||
// If plugging out a monitor && lock.displays.get(idx) is None.
|
||||
// 1. The client version < 1.2.4. The client side has to reconnect.
|
||||
// 2. The client version > 1.2.4, The client side can handle the case becuase sync peer info message will be sent.
|
||||
// But it is acceptable to for the user to reconnect manually, becuase the monitor is unplugged.
|
||||
// 2. The client version > 1.2.4, The client side can handle the case because sync peer info message will be sent.
|
||||
// But it is acceptable to for the user to reconnect manually, because the monitor is unplugged.
|
||||
let d = lock.displays.get(idx)?;
|
||||
if ndisplay != lock.displays.len() {
|
||||
return Some(d.clone());
|
||||
|
Loading…
Reference in New Issue
Block a user