[main] only set keyboard on splash if available

There may be cases where there is no keyboard set.
calculate-0.9.5
Ray Strode 15 years ago
parent 1fa4f91a61
commit 8bb69cd875

@ -1044,6 +1044,7 @@ add_displays_and_keyboard_to_boot_splash (state_t *state,
ply_list_node_t *node;
ply_trace ("setting keyboard on boot splash");
if (state->keyboard != NULL)
ply_boot_splash_set_keyboard (splash, state->keyboard);
node = ply_list_get_first_node (state->pixel_displays);

Loading…
Cancel
Save