mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-12 18:29:10 +08:00
macOS, fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
83deb71ce2
commit
68eaa9f000
@ -811,7 +811,7 @@ pub fn map_keyboard_mode(peer: &str, event: &Event, mut key_event: KeyEvent) ->
|
|||||||
#[cfg(any(target_os = "android", target_os = "ios"))]
|
#[cfg(any(target_os = "android", target_os = "ios"))]
|
||||||
let keycode = 0;
|
let keycode = 0;
|
||||||
|
|
||||||
key_event.set_chr(keycode);
|
key_event.set_chr(keycode as _);
|
||||||
Some(key_event)
|
Some(key_event)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user