From ddce94c973f34c99180c365888f16db8dfaa35dd Mon Sep 17 00:00:00 2001 From: jamespetts Date: Sun, 3 Mar 2024 14:48:27 +0000 Subject: [PATCH] run ./cleanup_code.sh --- gui/line_waiting_status.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/line_waiting_status.cc b/gui/line_waiting_status.cc index e5b6084de7b..e0775201c5a 100644 --- a/gui/line_waiting_status.cc +++ b/gui/line_waiting_status.cc @@ -341,7 +341,7 @@ void gui_line_waiting_status_t::init() if (show_name) { gui_label_buf_t *lb = new_component(SYSCOL_TEXT_WEAK); if (is_waypoint) { - + if (gr) { if (const char *label_text = gr->get_text()) { lb->buf().printf(" %s", label_text);