Merge branch 'obsd-master' into master

pull/3022/head
Thomas Adam 2022-01-17 12:01:10 +00:00
commit 6c0397f497
1 changed files with 2 additions and 1 deletions

View File

@ -667,7 +667,8 @@ popup_display(int flags, enum box_lines lines, struct cmdq_item *item, u_int px,
pd = xcalloc(1, sizeof *pd);
pd->item = item;
pd->flags = flags;
pd->title = xstrdup(title);
if (title != NULL)
pd->title = xstrdup(title);
pd->c = c;
pd->c->references++;