From 50e776d502852db6398a3cca90c549ca296b5655 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 24 Sep 2017 23:47:59 -0400 Subject: MqTab: Count tabs internally from 1 --- (limited to 'src/tab.c') 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); -- cgit v0.9.1