diff --git a/src/specials.cc b/src/specials.cc index c93a8387..bbca9617 100644 --- a/src/specials.cc +++ b/src/specials.cc @@ -596,7 +596,7 @@ void new_graph(struct text_object *obj, char *buf, int buf_max_size, } #endif - s->graph = retrieve_graph(g->id, s->graph_width); + if (s->graph) { s->graph = retrieve_graph(g->id, s->graph_width); } graph_append(s, val, g->flags);