1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Allow terminal title to be left unchanged.

Fixes #1835.
This commit is contained in:
Latchezar Tzvetkoff
2022-10-11 20:44:10 +03:00
committed by Sébastien Helleu
parent 6619c421aa
commit 8765eb3b71
+1 -1
View File
@@ -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;