From fd66c6903047b57bc71100549d4e15eea9deded4 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 16 Jun 2016 15:08:04 -0400 Subject: [PATCH] text: don't draw if not animating That can cause an unrecoverable crash. --- src/plugins/splash/text/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/splash/text/plugin.c b/src/plugins/splash/text/plugin.c index d935461e..8260daad 100644 --- a/src/plugins/splash/text/plugin.c +++ b/src/plugins/splash/text/plugin.c @@ -556,7 +556,9 @@ on_boot_progress (ply_boot_splash_plugin_t *plugin, next_node = ply_list_get_next_node (plugin->views, node); ply_text_step_bar_set_percent_done (view->step_bar, percent_done); - ply_text_step_bar_draw (view->step_bar); + + if (plugin->is_animating) + ply_text_step_bar_draw (view->step_bar); node = next_node; }