diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-01-17 12:01:10 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-01-17 12:01:10 +0000 |
commit | 6c0397f49769666c836a312c292e9c67adc41058 (patch) | |
tree | 5f264998eb15bf445efca6968931b16ee40aaca7 | |
parent | 28b6237c623f507188a782a016563c78dd0ffb85 (diff) | |
parent | a6b361e775e0bf6301284391e75dd9af7af340da (diff) | |
download | rtmux-6c0397f49769666c836a312c292e9c67adc41058.tar.gz rtmux-6c0397f49769666c836a312c292e9c67adc41058.tar.bz2 rtmux-6c0397f49769666c836a312c292e9c67adc41058.zip |
Merge branch 'obsd-master' into master
-rw-r--r-- | popup.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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++; |