From: Ray Strode Date: Thu, 16 Jun 2016 19:08:04 +0000 (-0400) Subject: text: don't draw if not animating X-Git-Tag: 0.9.3~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd66c6903047b57bc71100549d4e15eea9deded4;p=thirdparty%2Fplymouth.git text: don't draw if not animating That can cause an unrecoverable crash. --- 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; }