diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-02-14 21:36:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-14 21:36:00 +0100 |
commit | 3fb26f1e4eaf5e3405b08f0574378d53ff1737cc (patch) | |
tree | 096918a56e64ac4507383657b8452bf16971e405 | |
parent | 79fbd403a7c1fdecc4e9062e3ae60cab7209da8e (diff) | |
parent | 45e4d26296b72ecf4f491bf1f310cc09e831300c (diff) | |
download | profani-tty-3fb26f1e4eaf5e3405b08f0574378d53ff1737cc.tar.gz |
Merge pull request #1481 from StefanKropp/titlebar-empty-roomname
Bugfix: Titlebar show name without room name
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index cca6d902..8afb23f4 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -307,7 +307,7 @@ win_get_title(ProfWin* window) gboolean show_titlebar_name = prefs_get_boolean(PREF_TITLEBAR_MUC_TITLE_NAME); GString* title = g_string_new(""); - if (show_titlebar_name) { + if (show_titlebar_name && mucwin->room_name) { g_string_append(title, mucwin->room_name); g_string_append(title, " "); } |