summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-10-28 10:01:25 +0000
committerThomas Adam <thomas@xteddy.org>2019-10-28 10:01:25 +0000
commit57948a0dfc56bfa5176d282e1551b49bd3422d0a (patch)
treed63046baf712108784bfc02dc36cfd541de4f92a /window.c
parent4e5f80dc62f3ae15ce74a1821ad97329371d4f94 (diff)
parentccdebead79d4c20a0ad82f247d9339224af19a82 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index cd974649..14c499e0 100644
--- a/window.c
+++ b/window.c
@@ -311,7 +311,7 @@ window_create(u_int sx, u_int sy)
struct window *w;
w = xcalloc(1, sizeof *w);
- w->name = NULL;
+ w->name = xstrdup("");
w->flags = 0;
TAILQ_INIT(&w->panes);