aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/render.c b/render.c
index aaa106a3..0f23fc4e 100644
--- a/render.c
+++ b/render.c
@@ -2531,6 +2531,12 @@ render_urls(struct terminal *term)
const wchar_t *key = url->key;
const size_t entered_key_len = wcslen(term->url_keys);
+ if (key == NULL) {
+ /* TODO: if we decide to use the .text field, we cannot
+ * just skip the entire jump label like this */
+ continue;
+ }
+
struct wl_surface *surf = it->item.surf.surf;
struct wl_subsurface *sub_surf = it->item.surf.sub;