Replace last u32 with mmask_t

I missed this one...
This commit is contained in:
Alexandre Bury 2017-11-19 01:21:57 -08:00
parent eeca719a92
commit b6cfd43556

View File

@ -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 |