diff options
author | i.Dark_Templar <darktemplar@dark-templar-archives.net> | 2021-09-13 21:43:44 +0300 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2021-09-22 14:26:27 +0000 |
commit | 6f480678a61b25a928a3edf70a68b9e65016cb25 (patch) | |
tree | fa149dcff241f4b52a531b94a4a57217e3ce58d3 | |
parent | ea99a2e140f978fcd057076d44287d30c662d4f6 (diff) |
Fix crash when hiding message in details splash mode
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -574,7 +574,9 @@ on_hide_message (state_t *state, if (strcmp (list_message, message) == 0) { free (list_message); ply_list_remove_node (state->messages, node); - ply_boot_splash_hide_message (state->boot_splash, message); + if (state->boot_splash != NULL) { + ply_boot_splash_hide_message (state->boot_splash, message); + } } node = next_node; } |