Merge branch 'master' of github.com:Logaritmisk/rust-smb

This commit is contained in:
2016-06-15 19:51:36 +02:00
3 changed files with 13 additions and 22 deletions

View File

@@ -21,7 +21,7 @@ impl KeyboardHandler {
pub fn process(&mut self, event: &Event) {
match *event {
Event::KeyDown {keycode, repeat, ..} => {
if repeat == false {
if !repeat {
self.key_down(keycode.unwrap());
}
},