summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
authorLatchezar Tzvetkoff <latchezar@tzvetkoff.net>2022-10-11 20:44:10 +0300
committerSébastien Helleu <flashcode@flashtux.org>2022-10-14 22:42:21 +0200
commit8765eb3b71ee0e3a59f7a52095ee7103648341be (patch)
tree60d4a84d8c8082f5064b32dd260418e7ff9c7604 /src/gui/curses
parent6619c421aa34f1214beac570e81bba76a6de0570 (diff)
downloadweechat-8765eb3b71ee0e3a59f7a52095ee7103648341be.zip
Allow terminal title to be left unchanged.
Fixes #1835.
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/gui-curses-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index 6c27be299..e9d80d179 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -2533,7 +2533,7 @@ gui_window_set_title (const char *title)
return;
new_title = (title && title[0]) ?
- eval_expression (title, NULL, NULL, NULL) : strdup ("Terminal");
+ eval_expression (title, NULL, NULL, NULL) : NULL;
if (!new_title)
return;