text: don't draw if not animating

That can cause an unrecoverable crash.
This commit is contained in:
Ray Strode 2016-06-16 15:08:04 -04:00
parent 99755d3eac
commit fd66c69030

View file

@ -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;
}