From 60c3ed19c8827e72862ec081415fc5a32a15140e Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Sun, 23 Apr 2017 17:54:14 +0100 Subject: [PATCH] Fix a couple of syntax errors in keymap.rs My previous pull request that added a GB keyboard layout also added a couple of syntax errors. This PR fixes them. Apologies for that. --- ps2d/src/keymap.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ps2d/src/keymap.rs b/ps2d/src/keymap.rs index 41ea1d2c74..34860c5d58 100644 --- a/ps2d/src/keymap.rs +++ b/ps2d/src/keymap.rs @@ -74,7 +74,7 @@ pub mod us { } pub mod gb { - static GB: [[char; 2]; 58] = [ + static GB: [[char; 2]; 87] = [ ['\0', '\0'], ['\x1B', '\x1B'], ['1', '!'], @@ -132,7 +132,7 @@ pub mod gb { ['\0', '\0'], ['\0', '\0'], ['\0', '\0'], - [' ', ' '] + [' ', ' '], ['\0', '\0'], ['\0', '\0'], ['\0', '\0'],