diff options
author | Ray Strode <rstrode@redhat.com> | 2009-11-28 00:24:21 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2009-11-28 00:24:58 -0500 |
commit | 8bb69cd87586af3eb5bfb2b7b56288b031823158 (patch) | |
tree | 27c1d538be29b3ce565b1b7360ee8890f3d17eb0 | |
parent | 1fa4f91a6171fc0585734a766505dbbdd064e175 (diff) |
[main] only set keyboard on splash if available
There may be cases where there is no keyboard set.
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |