summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-24 23:47:59 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-24 23:47:59 (EDT)
commit50e776d502852db6398a3cca90c549ca296b5655 (patch)
tree952f8ea22db9769e865a94c4a2842c0c42db5077
parent17bb4d51e0d17ebf632a02bff5ef0e12dbc5c69b (diff)
downloadmarquee-50e776d502852db6398a3cca90c549ca296b5655.zip
marquee-50e776d502852db6398a3cca90c549ca296b5655.tar.gz
marquee-50e776d502852db6398a3cca90c549ca296b5655.tar.bz2
MqTab: Count tabs internally from 1
-rw-r--r--src/tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tab.c b/src/tab.c
index 2998c2f..8e6bf0d 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -38,7 +38,7 @@ update_tab_label(MqTab *tab)
{
gchar *label;
- label = g_strdup_printf("%d. %s", tab->position + 1, tab->title);
+ label = g_strdup_printf("%d. %s", tab->position, tab->title);
gtk_label_set_text(GTK_LABEL(tab->tab_label), label);
gtk_widget_set_tooltip_text(tab->tab, label);
g_free(label);