summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);