From 979aeacb4a76050f69ce07e52ed282707bc03f01 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Wed, 21 Apr 2010 11:48:57 +0200 Subject: [PATCH] [main] do not set state->keyboard twice state->keyboard is set already in set_keyboard, there is no need to do the work twice. --- src/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.c b/src/main.c index 0ae6500d..03a8a6a3 100644 --- a/src/main.c +++ b/src/main.c @@ -1290,7 +1290,6 @@ add_display_and_keyboard_for_terminal (state_t *state, display = ply_text_display_new (state->terminal); ply_list_append_data (state->text_displays, display); - state->keyboard = keyboard; set_keyboard (state, keyboard); }