diff options
Diffstat (limited to 'src/ui/tabpopup.c')
-rw-r--r-- | src/ui/tabpopup.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c index 18ee83d5..0f6e129a 100644 --- a/src/ui/tabpopup.c +++ b/src/ui/tabpopup.c @@ -164,16 +164,10 @@ tab_entry_new (const MetaTabEntry *entry, { gchar *str; gchar *tmp; - gchar *formatter = "%s"; str = meta_g_utf8_strndup (entry->title, 4096); - if (entry->hidden) - { - formatter = "[%s]"; - } - - tmp = g_markup_printf_escaped (formatter, str); + tmp = g_markup_printf_escaped (entry->hidden ? "[%s]" : "%s", str); g_free (str); str = tmp; |