From: Ray Strode Date: Sat, 28 Nov 2009 05:24:21 +0000 (-0500) Subject: [main] only set keyboard on splash if available X-Git-Tag: 0.8.0~104^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bb69cd87586af3eb5bfb2b7b56288b031823158;p=thirdparty%2Fplymouth.git [main] only set keyboard on splash if available There may be cases where there is no keyboard set. --- diff --git a/src/main.c b/src/main.c index 47b62004..197c8e61 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)