From 8bb69cd87586af3eb5bfb2b7b56288b031823158 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Sat, 28 Nov 2009 00:24:21 -0500 Subject: [PATCH] [main] only set keyboard on splash if available There may be cases where there is no keyboard set. --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 47b6200..197c8e6 100644 --- a/src/main.c +++ b/src/main.c @@ -1044,7 +1044,8 @@ add_displays_and_keyboard_to_boot_splash (state_t *state, ply_list_node_t *node; ply_trace ("setting keyboard on boot splash"); - ply_boot_splash_set_keyboard (splash, state->keyboard); + if (state->keyboard != NULL) + ply_boot_splash_set_keyboard (splash, state->keyboard); node = ply_list_get_first_node (state->pixel_displays); while (node != NULL)