mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Replace last u32 with mmask_t
I missed this one...
This commit is contained in:
parent
eeca719a92
commit
b6cfd43556
@ -485,7 +485,7 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the Key enum corresponding to the given pancurses event.
|
/// Returns the Key enum corresponding to the given pancurses event.
|
||||||
fn get_mouse_button(bare_event: u32) -> MouseButton {
|
fn get_mouse_button(bare_event: mmask_t) -> MouseButton {
|
||||||
match bare_event {
|
match bare_event {
|
||||||
pancurses::BUTTON1_RELEASED |
|
pancurses::BUTTON1_RELEASED |
|
||||||
pancurses::BUTTON1_PRESSED |
|
pancurses::BUTTON1_PRESSED |
|
||||||
|
Loading…
Reference in New Issue
Block a user